mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Issue #10296: Merge to default
This commit is contained in:
commit
23f854ca68
1 changed files with 5 additions and 0 deletions
|
@ -397,6 +397,11 @@ static DWORD HandleException(EXCEPTION_POINTERS *ptrs,
|
|||
{
|
||||
*pdw = ptrs->ExceptionRecord->ExceptionCode;
|
||||
*record = *ptrs->ExceptionRecord;
|
||||
/* We don't want to catch breakpoint exceptions, they are used to attach
|
||||
* a debugger to the process.
|
||||
*/
|
||||
if (*pdw == EXCEPTION_BREAKPOINT)
|
||||
return EXCEPTION_CONTINUE_SEARCH;
|
||||
return EXCEPTION_EXECUTE_HANDLER;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue