Replies: 1 comment
-
Found a solution. Adding the below to pyproject.toml switches to debug build.
|
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.
-
I'm developing an extension and the primary way I'm currently testing is by doing basically this:
Alas, I'm hitting a segfault in my extension, so I'm trying to run it under gdb or lldb. I couldn't get this to print any kind of stack trace on Windows (maybe due to this?), but I can debug on Linux so no problem there.
However, when installing with
pip install -e .
, it seems like the extension is built for release. I don't know cmake well enough to know how to makepip install
build a debug build instead.Anyone happen to know?
(And yeah, my workflow currently is really cumbersome as it takes a long time to iterate through
pip install -e
. I just couldn't figure out yet what's a better way to get everything working without a pip install into a venv.)Beta Was this translation helpful? Give feedback.
All reactions