wlav / cppyy

Other
391 stars 40 forks source link

debugging #138

Closed NiKeYiGuN closed 1 year ago

NiKeYiGuN commented 1 year ago

To enable debugging information in JITed code, set the EXTRA_CLING_ARGS envar to -g (and any further compiler options you need, e.g. add -O2 to debug optimized code).

Is there a detailed procedure on debugging?

ubuntu18.04 python3.9 IDE CLion Debugger Bundled GDB

NiKeYiGuN commented 1 year ago

I want to that a debugger that starts from python will be able to step through JITed code into the C++ function that needs debugging

NiKeYiGuN commented 1 year ago

I try this then debug,but cant hit the break point in C++ Code。 image