Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 843fae9 commit 5aed330Copy full SHA for 5aed330
1 file changed
Modules/_ctypes/callproc.c
@@ -397,6 +397,11 @@ static DWORD HandleException(EXCEPTION_POINTERS *ptrs,
397
{
398
*pdw = ptrs->ExceptionRecord->ExceptionCode;
399
*record = *ptrs->ExceptionRecord;
400
+ /* We don't want to catch breakpoint exceptions, they are used to attach
401
+ * a debugger to the process.
402
+ */
403
+ if (*pdw == EXCEPTION_BREAKPOINT)
404
+ return EXCEPTION_CONTINUE_SEARCH;
405
return EXCEPTION_EXECUTE_HANDLER;
406
}
407
#endif
0 commit comments