Closed Rx-SUN closed 2 years ago
The bark.so
file is located in the bazel-bin
folder. The main thing to make debugging work is to add this path in the launch.json
and to build the project in debug mode. The other thing is that you then can execute the file in question whilst being in that file and pressing F5
.
Did this resolve the issue? Can we close it?
Yes, thank you very much !
Great! If you like our work, please star BARK to make it more visible to others. I will close this issue then...
Hello, I followed the instructions in https://bark-simulator.readthedocs.io/en/latest/debugging.html and I still failed jumping from python file to c++ file.
I successfully ran
bazel build //... --compilation_mode=dbg
andreadelf --debug-dump=decodedline core.so
(I did not find bark.so so I copied core.so to bark folder). I then followed the 1.2.3.4 steps but I cannot jump to c++ file and debug.Here is my launch.json file: