aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Advice to Debugging please!!  (Read 2491 times)

Amule_fan

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Advice to Debugging please!!
« on: January 10, 2009, 09:38:33 AM »

Hello

I'm trying to debugging Amule to understand how does it works, and i would like to follow the program using the prinf comands that the developpers use in Amule source code. Could anybody help me and tell me where or how can I see this prinf? Or if exist anyway to show the information in a Debug window that exist when u run Amule in VS

Thank u very much
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Advice to Debugging please!!
« Reply #1 on: January 10, 2009, 02:11:51 PM »

Use the logging macros defined in Logger.h. Then you can watch the output in the log file.
On Linux you can see the output in the console if you start amule from it, on Windows you can't.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon