[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help on "undebug"



> Originally I installed ns2, and runs well. I did something and recompiled
> ns. But now I meet one problem: whenever I run ns, it seems it prints out
> all tcl codes it used. It is strange for me, since I did not change any
> option. 

During initialization, ns interprets all of its internal scripts (under
tcl/). If it gets an error during this process, it'll print out a lot of
codes. If you wait to the end to see where the error happened, you'll have
a clue. (FYI: If you only change the tcl part of ns, it's probably better
to leave ns as it is, and source your modifications in your simulation
script. It'll save time.)

- Haobo