Peter
Hi,
You would need to clarify what you are looking for ...NS-3 is a simulator that provides extensive logging and tracing facilities. Usually they would cover most of your needs. You can trace the execution steps wherever you want...
If your intention, however, is to debug a code which is giving an exception somewhere at run-time, then using gdb (within eclipse as well) and setting break-points at some places would help you to step through , as well as, to go quickly to the point
at which the code bombs... Eclipse provides an extensive set of enablers in its debugging GUI...you can set and remove break-points, watch variables values during the execution and so on. (You would need to make sure that the requisite libraries are loaded
...,viz., as explained in the guide to use Eclipse with NS-3)
Some of the recent changes in GCC / G++ with newer releases of Unix- variants are also sources of ...say standard headers not in the place where they used to be etc.... but these would give compile time errors and are easily found and the path correctable
if so needed...
I hope this helps...
With Regards,
madan
--
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 the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.
I'm new on event driven simulator. Now I know, I can see the function call with logging in console, but it is not so direct. Is there some approach that I can see the event stack in eclipse?
However, when I use step into, the event scheduling process can't be seen. I wonder if stepping into is suitable for such even driven simulator.