Open yasirroni opened 3 years ago
Maybe, it's as mentioned in README.md?
python code debugging is not supported.
There's two kinds of debugging you could do with this project:
1) debugging C++ code (as when you use gdb) 2) debugging python code (as when you use pdb)
Debugging C++ code is something OMNeT++ offers out of the box: when a breakpoint is hit, you can debug the C++ code, from the IDE.
In the context of omnetpy (this project), doing so would mean at some point entering the Cpython interpreter code.
Debugging python code is what is not supported (dropping into pdb, stepping one line of python code at a time).
What your issue brings up is the fact that using this project you as a user are also losing the ability to make old C++ debugging (i.e: you as a user lost (1)). I hadn't realized that until now.
What the error message is telling you is that no debug version of some OMNeT++ libraries can be found. This is because I am building OMNeT++ only in release mode.
It would be nice to fix this to offer (1), but (2) is much more harder (I don't think I'll ever do it).
The time I can allot for this project right now is small, though... you may have to wait a couple of months. PR welcomed!
It involves modifying this line on the Dockerfile
RUN export PATH=$OMNETPP_ROOT/bin:$PATH; cd $OMNETPP_ROOT && ./configure && make MODE=release -j4
Thanks for the reply. We will try moving from there, but since I'm not that fluent with bash, C++, and Docker, I don't really think that I can help with PR. But, I'll report back if there is some update.
If makefile build in
MODE=debug all
, error occured:But, if compiled in
MODE=release all
, project can be run flawlessly.