The following should work:
./waf --shell
gdb ./build/debug/examples/my-program
Mathieu
When I write these commands
./waf --run scratch/first --command-template="gdb %s"
OR
./waf --run scratch/first --command-template="ddd %s"
the ddd and gdb told me that there is no such file exists in the directory. you can see the out put below
>ns-allinone-3.18.1/ns-3.18.1/build/scratch/first: No such file or directory. :(
I put this NS3 "first.cc" example in scratch folder but ddd and gdb unable to get this file.
Is there any way to see ".cc" extension file in ddd/gdb?
please help. thanx in advance
When I write these commands
./waf --run scratch/first --command-template="gdb %s"
OR
./waf --run scratch/first --command-template="ddd %s"
the ddd and gdb told me that there is no such file exists in the directory. you can see the out put below
>ns-allinone-3.18.1/ns-3.18.1/build/scratch/first: No such file or directory. :(
I put this NS3 "first.cc" example in scratch folder but ddd and gdb unable to get this file.
Is there any way to see ".cc" extension file in ddd/gdb?
please help. thanx in advance