[issue10296] ctypes catches BreakPoint error on windows 32
Kristján Valur Jónsson
report at bugs.python.org
Mon Dec 27 03:42:39 CET 2010
Kristján Valur Jónsson <kristjan at ccpgames.com> added the comment:
I _think_ that in our old 2.5 python (which had a backported ctypes from 2.6 to support 64 bits) we always got the JIT debugger i.e. with _ctypes.pyd and _ctypes_d.pyd.
This api, "DebugBreak" always invokes the JIT debugger, however the program was compiled (_NDEBUG, DEBUG, or not).
This is done by raising the breakpoint exception and apparently _ctypes.pyd is catching that exception and handling it, but only in release mode, while I think it shouldn't do.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10296>
_______________________________________
More information about the Python-bugs-list
mailing list