$ NS_LOG="***" ./waf ...
Another way to follow the execution exactly is by stepping through the code in a debugger.
Finally, many of the "actions" you mention (creation of nodes, installation of Internet stack) happen sequentially exactly as written in your script, before Simulator::Run (). Strictly speaking those are not "Events" in that they occur before the beginning of virtual time.
Peter
Thanks a lot for the reply. I will try that command. Also i have these questions now.
1) As you have mentioned, i am trying to use GDB debugger to trace it by mentioning break points in between. But its not working properly. Please let me know is there any easy way.
2) Continuing your second point, is it possible to distinguish which part of the code is executed before Simulation::Run() command and which part is in the queue? Also , is it possible to get the sequence of events scheduled in the queue?
> On 01-Feb-2017, at 7:47 PM, pdbarnes <pd...@mac.com> wrote:
>
> Have you read up about logging? Try
>
> $ NS_LOG="***" ./waf ...
>
> Another way to follow the execution exactly is by stepping through the code in a debugger.
>
> Finally, many of the "actions" you mention (creation of nodes, installation of Internet stack) happen sequentially exactly as written in your script, before Simulator::Run (). Strictly speaking those are not "Events" in that they occur before the beginning of virtual time.
>
> Peter
>
> --
> Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
> ---
> You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/1YsLnoIREtY/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to ns-3-users+unsubscribe@googlegroups.com.