[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] question about #define DEBUG
Thanks Lloyd,
The reason why I am trying to use DEBUG option is that I hope to trace a
specific variable during my simulation whenever specific function is called.
So is there any method I can use to trace the changes of specific variable?
Any help will be really appreicated.
Thank you.
Joo-Han
----- Original Message -----
From: "Lloyd Wood" <[email protected]>
To: "Joo-Han Song" <[email protected]>
Cc: "ns-users" <[email protected]>
Sent: Tuesday, December 25, 2001 12:18 PM
Subject: Re: [ns] question about #define DEBUG
> On Tue, 25 Dec 2001, Joo-Han Song wrote:
>
> > If I activate
> > #define DEBUG
> > in specific c file (for example aodv.cc), how can I see this debugging
output?
> > Does this activation generate specific output file for debugging? if so,
where?
>
> there's a special debug class variable these days, and you would
> really be better off using that where it's available, or patching
> the code where it's not available to use it.
>
> L.
>
> <[email protected]>PGP<http://www.ee.surrey.ac.uk/Personal/L.Wood/>
>
>