Using RDebug::print

Login to reply to this topic.
Mon, 2005-06-20 14:30
Joined: 2005-01-24
Forum posts: 57
Hi,
How to use  RDebug::print();
i used  RDebug::print(_L("error occured")); but nothing happens in the emulator?
no compilation errors...but no output..
has anyone used this
if so please help me
regards Sajuat

"I dont know with what weapons World War III will be fought, but World War IV will be fought with sticks and stones."
.... Albert Einstein


Mon, 2005-06-20 17:28
Joined: 2005-03-06
Forum posts: 183
Re: Using RDebug::print
run the emulator in debug mode as well as having ur debug prints in ur code

Regards,
Isseyp
Mon, 2005-06-20 17:46
NewLC AdministratorSymbian AccreditedForum Nokia Champion
Joined: 2003-01-14
Forum posts: 1886
Re: Using RDebug::print
Which SDK and environment are you using ?

Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant

Mon, 2005-06-20 18:06
Joined: 2005-04-01
Forum posts: 59
Re: Using RDebug::print
When u use RDebug::print  u can see the message on the output window of the workspace  when u run the application.....
Tue, 2005-06-21 04:59
Joined: 2005-01-24
Forum posts: 57
Re: Using RDebug::print
Hi,
 i am using VC++ for series 60 development.

i used  RDebug::print(_L("error occured")); but nothing happens in the emulator? so where it prints?
Quote from: shabini
When u use RDebug::print u can see the message on the output window of the workspace when u run the application.....

no i cannot see the message..
hoping a help
sajuat

"I dont know with what weapons World War III will be fought, but World War IV will be fought with sticks and stones."
.... Albert Einstein

Tue, 2005-06-21 06:25
Joined: 2005-03-15
Forum posts: 94
Re: Using RDebug::print
Similar posting already exists on this forum, please use search function Smiley

As mentioned by Shabini, the messages are printed in output windows of the IDE. They are not printed on Emulator. If I am not wrong, you could also check the file epocwind.out also contains these debug messages.

====
Vivek

Vivek Chopra

Tue, 2005-06-21 09:56
Joined: 2004-12-23
Forum posts: 239
Re: Using RDebug::print
Hi vivek

Why don;t u use User::PrintInfo instead

User::PrintInfo(_L("error occurred"));

it will be printed atthe top of the emulator.......
hope this will help u....

---------------
Bhatt Kavita

Tue, 2005-06-21 11:03
Joined: 2005-03-15
Forum posts: 94
Re: Using RDebug::print
Thanks Kavita,

But I am not looking for a solution here Smiley I was just adding my comments to this posting about Debug::Print.

Thanks for highlighting, Sajuat can use this info and directly see the messages printed on emulator itself. Hope this helps him/her.

====
Vivek

Vivek Chopra

Tue, 2005-06-21 14:30
Joined: 2005-01-24
Forum posts: 57
Re: Using RDebug::print
HI,
Thanks all for yor great replies and i got my problem solved...
regards sajuat

"I dont know with what weapons World War III will be fought, but World War IV will be fought with sticks and stones."
.... Albert Einstein

  • Login to reply to this topic.