Breakpointing pyd at runtime cause a crash #4477
Unanswered
Dariusz1989
asked this question in
Q&A
Replies: 1 comment
-
Hey CMakeList.txt
example.cpp
vcpkg.json
importTest.py
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey
Not sure if it's a user error or what but I'm hitting this >

Here is the story
I have an app that is written in c++ and has a python interpreter exposed via boost. (not mine, no source access.)
They are using python 3.7.XX.
I've created a c++ library file and used pybind11 to build it using python37.
I can import the module just fine and call functions/pass objects/etc all great.
However, if I try to attach a debugger in Clion or MSVC I will get a crash(above picture)
Now I'm not sure if it's just "not supported" or if I need to enable something in my dll/pyd file to allow for remote debugging.
These are my flags.
I've used Debug version of build, Release does not breakpoint/crash.
I also have this as my error stack trace...
Error log is a little big as I'm doing some tests before the error which work fine (print/call function/etc) so the part that matters is near the top.
Beta Was this translation helpful? Give feedback.
All reactions