[ns] NS-2 eclipse debug

2010-01-25 Thread Arash Malekzadeh
Hello, I was wondering if anyone has used eclipse to debug NS-2. I cannot figure out how you can startup a tcl script as you would with linux gdb ( run ex1.tcl ). Is there a command to type after starting the debugger ? Thanks,

Re: [ns] NS-2 eclipse debug

2010-01-25 Thread Sidney Doria
Debug the entire simulator as a unique c++ program (with your code inside it). take a look: http://wcms1.rz.tu-ilmenau.de/fakia/NS2-for-Eclipse.6025.0.html http://tagus.inesc-id.pt/~pestrela/ns2/ns2_debugging.html Sidney Doria UFCG / BRAZIL 2010/1/25 Arash Malekzadeh aras...@gmail.com:

Re: [ns] NS-2 eclipse debug

2010-01-25 Thread Sidney Doria
Ok, are you using linux or cygwin? gdb in cygwin doesn't work. Linux okay. Did you enable symbols? this step is imperative and you must recompile entire ns-2 with symbols to visualize all step-by-step. Sidney Doria UFCG / BRAZIL 2010/1/25 Arash Malekzadeh aras...@gmail.com: Thank you for your