1
Vote

Breakpoints disabled in Python code when running native debugging

description

I tried to use Mixed-Mode debugging and managed to hit a breakpoint in the C++ code (which is great!), but not in the Python code.

After reducing the app to just a "print 'hello world'" python one-liner (no C++ at all), I still cannot hit a break point in the python code, if running with "Enable native code debugging" on. "Normal" python debugging works fine.

The breakpoint (on the very first line) displays a warning:
The breakpoint will not currently be hit. No symbols have been loaded for this document.

I am using Win7, a 64-bit Canopy 1.3.0, Visual Studio 2012 Update 1 and tried both 2.0 and 2.1 releases of PTVS.

Contents of the Output window attached. I also noticed one <unknown> in the Modules window, when the debugger runs.

What could be the reason for this issue?

Thanks
Petr

file attachments

comments