[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Need help in debug
Srinivasa Rao,
Here are three suggestions:
1. Use gdb to do your C++ debugging
2. Get tcl-debug1.17 (check the installations web page for
how/where to get it),
and make sure that ns is built with tcl-debug. You may have
to reconfigure and recompile.
The ns web page describes (shows through a gdb script),
how you can interact with tcldebug through gdb.
3. The simulator method, gen-map, dumps a trace of the topology,
that also helps in identifying the particular object you are
looking at in gdb, and its relation to the complete topology.
You can get this output when you are interacting with the tcl-debugger.
Hope this helps,
Kannan
PS: If you have specific suggestions on how the debugging
web page can be improved, we'd like to hear them as well.
--
[email protected]
http://www.isi.edu/~kannan