> My second question relates to debugging in GDB... sorry if this is
> noobish as I have little experience with this debugger or how NS-3 is
> built
> to debug I just go to /build/debug/scratch and run gdb my-app ...
> when I try to set a break point for one of the files I have defined (b
> file-request-server.cc:20) it states that this file could not be
> found ... what am I doing wrong here? Is that file compiled into a
> library or something? do I need to specify the path within src to that
> file?? i.e b /src/applications/file-request-server.cc??
the following should work:
./waf --shell
gdb ./build/debug/scratch/my-app
This needs to be in the FAQ :)
Mathieu