[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:

[ns] Awk script to calculate energy consumption

2010-01-25 Thread Dimitris Liarokapis
Hi all, I am trying to find an awk script to calculate the energy parameters when AODV is used in a normal ad hoc scenario. I have scripts for all other parameters except from energy. Does anyone have that kind of script or can you direct me where to find one? Thanks in advance, Dimitris

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

[ns] problem in NS2.34 makefile during adding Wimax module

2010-01-25 Thread reza khaniki
Dears I have chosen the project Performance Evaluation of implementing QoS-included WiMAX MAC layer via NS2 simulator. to realise this project I've installed NS-2.34 in linux Ubuntu 8.10 successfully according to this guide and proper package:

Re: [ns] LAN Setup and Traffic Monitoring

2010-01-25 Thread Hayden Tomlins
Abdul, Many thanks for your response and clarification. When you say that traffic on the LAN is broadcast to all hosts, do you mean all nodes receive the traffic BUT the packets are dropped and not logged as received if the host is not the intended recipient? If this is correct, am I right