Open KevinKBytes opened 1 year ago
Hi @KevinK-byte, this is currently not possible with the Python C++ Debugger
extension.
What about c++ files which call shared library files, which then call into normal .py files? Would I at least be able to break into the py files?
What the extension does is it starts a Python debugger and attaches a C++ debugger to it and can't do it the other way around. Because the python debugger launches first, the entry point of the code/debugger has to be a Python script.
I have the following set up:
Can I use this debugger to step through the **.cpp to debug C++ run?
+1 for this. Would love to use it to debug embedded python interpreter in a C++ application
I'm open to adding this feature. I've never run into this situation, can you create an example code (python, c++ and compiler flags) for me to test with? Have you tried manually starting the python and c++ debuggers and attaching them to each other? If so how did you manage that?
You can launch the application with the embedded interpreter under the c++ debugger, then change launch config and launch the python debugger but attach to a process id via selection, and select the application.
vscode allows you to debug multiple things at the same time.
I have an application which is written in C++ however the GUI is written in python and calls C++ bindings to the core app
Hi,
Could I get this extension to work if say, I have cpp files which call python functions from .so files?
Regards, Kevin