next up previous contents index
Next: 18.1 Tcl-level Debugging Up: 2. Simulator Basics Previous: 17.7 Commands at a

18. Debugging ns

is a simulator engine built in C++ and has an OTcl (Object-oriented Tcl) interface that is used for configuration and commands. Thus in order to debug we will have to deal with debugging issues involving both OTcl and C++. This chapter gives debugging tips at Tcl and C++ level and shows how to move to-fro the Tcl and C++ boundaries. It also briefly covers memory debugging and memory conservation in .