How to debug ns-3 with python

38 views
Skip to first unread message

Arne Boockmeyer

unread,
Apr 5, 2019, 8:08:17 AM4/5/19
to ns-3-users
When I run a ns-3 simulation written in Python and something fails, I only see this message:

Command ['/usr/bin/python', 'path/to/file.py'] terminated with signal SIGSEGV. Run it under a debugger to get more information (./waf --run <program> --command-template="gdb --args %s <args>").

I run the simulation with:
sudo ./waf --pyrun path/to/file.py

I also tried it with:
sudo ./waf --pyrun path/to/file.py --command-template="gdb %s"
sudo ./waf --command-template="gdb %s" --pyrun path/to/file.py

but nothing changes.

Could somebody tell me how to run the simulation to see the error message?

Thanks in advanced!

Reply all
Reply to author
Forward
0 new messages