How to debug Cython C?? šŸ¤”

dchaley

David Haley

Posted on January 26, 2024

How to debug Cython C?? šŸ¤”

I'm writing a Cython optimization of a Python algorithm. It's wrong šŸ˜‘ and I'm trying to debug it.

I have a python debugger in the IDE obvs, but how do I debug the C?

I was optimistic about the docs: https://cython.readthedocs.io/en/latest/src/userguide/debugging.html

ā€¦ but the instructions seem to be Linux-only, and I can't find comparable packages for Mac: python-dbg python-numpy-dbg

Meanwhile I am reduced to this:

Image description

šŸ’– šŸ’Ŗ šŸ™… šŸš©
dchaley
David Haley

Posted on January 26, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

How to debug Cython C?? šŸ¤”
debugging How to debug Cython C?? šŸ¤”

January 26, 2024