Re: [ns] Can anyone tell me how to debug ns2 2.33 using gdb? No successful examples could have been googled yet.

2008-12-23 Thread matt Wood
Hello Walled, I installed a Ubuntu and tried those steps again. It works. Thank you very much. Bests, Matt 2008/12/22 Waleed Tuffaha tuff...@gmail.com Hey Matt, yes, my version is ns-2.33. But i'm running on Linux (Ubuntu). On Mon, Dec 22, 2008 at 5:32 AM, matt Wood

[ns] Can anyone tell me how to debug ns2 2.33 using gdb? No successful examples could have been googled yet.

2008-12-21 Thread matt Wood
Dear friends, I've read the ns-doc chap24 and chap28, and followed the instructions (Q3) found in http://web.syr.edu/~dchen02/FAQ.txt, but when I try to debug using '$gdb ns' it says: no debugging symbols found. Same questions can be found in the mail-list but they still remain

Re: [ns] Can anyone tell me how to debug ns2 2.33 using gdb? No successful examples could have been googled yet.

2008-12-21 Thread Waleed Tuffaha
Hello Matt, A while ago I followed the steps in that FAQ to enable the debugging in ns2 and it worked fine with me. I used gdb to debug my C++ code as follows: gdb ns run my_tcl_script.tcl My code used to give me segmentation fault and I used gdb to find out where the problem was. I debug my

Re: [ns] Can anyone tell me how to debug ns2 2.33 using gdb? No successful examples could have been googled yet.

2008-12-21 Thread matt Wood
Hi, I think the problem is duet to the dynamic loadable libraries which ns2.33 uses. When I use 'dll-symbols' command in gdb and set breakpoints it says: warning: can not insert breakpoint Error accessing memory address 0x100ae1a0: Input/Output error. Could you mail me the