This project has moved and is read-only. For the latest updates, please go here.

Native code debugging doesn't work together with Python debugging

May 14, 2014 at 8:04 PM
Edited May 14, 2014 at 8:04 PM

I'm testing the PTVS 2.0 on my MSVC 2013. I've just created a python's C module (C/C++ project) and another Python's project to test this native module.

I can't debug my Python code when Enable native code debugging is checked. But I can do it with the native code.

So what am I doing wrong? I did everything told at this link.

I'm using Python 3.4; the symbols are stored on C:\Python34\symbols and was set on MSVC; I also had to compile python's source in order to get python34_d.lib in my lib path.

The breakpoints on the Python code displays this message, when native debugging is checked: "The breakpoint will not currently be hit. No symbols have been loaded for this documents."

So, how can I fix it?

Thanks in advance.

Daniel Koch
May 14, 2014 at 8:30 PM
Edited May 14, 2014 at 8:31 PM
I've just changed to PTVS 2.1 beta and now it's working! :)
Thank you nobody
Marked as answer by kochdaniel7 on 5/14/2014 at 12:31 PM
May 14, 2014 at 9:25 PM
Yup - 2.0 didn't have support for Python 3.4 for mixed mode, this is new in 2.1.
Marked as answer by kochdaniel7 on 5/14/2014 at 1:44 PM