Debugging Python script being invoked via C-API
已回答
Hi, been using CLion 2018.3, seems i'm having some difficulties debugging my python script, this is the scenario at hand:
i've got a C++ extension, being compiled as a shared object.
A pythons script imports the shared object, and invokes some logic, that logic receives a python function object, accessed via python's runtime C-API. later that function is being invoked (it represent some piece of code which was defined in the early python script) by using python's runtime C-API and calling PyObject_CallObject.
i can debug the extension, i can debug the script, but i cannot debug the function being called from the extension by using the python debugger.
the interpreter is not running in embedded mode.
请先登录再写评论。
Hi! Feel free to comment or upvote https://youtrack.jetbrains.com/issue/CPP-5797 in order to get updates.