Also, where is the output of the printf statements in the C++ class printed ??
-DP dhairya wrote: > > Thanks for the reply.. .but am unclear and have few more doubts....n.. > How do I trace the actual flow ...say when I run the Tcl Script, I want to > track Tcl Objects as well as the invoked C++ object and their values. > > Well, what I'm trying to do is understand the current protocol and modify > it... like the NIx vector routing....so I need to understand how it > updates the routing table, where it is maintained etc... > > -DP > > > Claus Christmann wrote: >> >> >> See inline below: >> >> dhairya wrote:Hi, >>> >>> Hi, >>> I'm new to ns2 and had few questions regarding it : >>> 1. Is the route-computation table stored globally than specific to node. >>> 2. How does this simulation work, I mean the flow from invoking the ns2 >>> script to the invoking the C++ code >>> 3. If I make few changes to the existing code, how do I debug it ? Is it >>> like debugging the C++ code without considering the Tcl thing >> >> Debugging ns2 can be tricky... ;) >> >> Pedro Vale Esterala has a good guide on setting up a ns2 debugging >> facility that includes (o)Tcl debugging capabilities: >> http://tagus.inesc-id.pt/~pestrela/ns2/index_.php >> >>> 4. the main question is the linkage of oTcl and the C++ >> See the ns2 manual for a couple of first steps on this. >> >>> >>> - DP >>> >> >> >> Good Luck. >> >> Claus >> -- >> Claus Christmann >> Graduate Research Assistant >> >> Georgia Institute of Technology >> 270 Ferst Drive >> Atlanta, GA 30332-0150 >> >> http://uav.ae.gatech.edu >> >> >> > > -- View this message in context: http://www.nabble.com/Newbie-question-tf4818881.html#a13797880 Sent from the ns-users mailing list archive at Nabble.com.