Commit d6e9f32b authored by Kristján Valur Jónsson's avatar Kristján Valur Jónsson

Merge

parents 3cc791c5 a251b371
...@@ -397,6 +397,11 @@ static DWORD HandleException(EXCEPTION_POINTERS *ptrs, ...@@ -397,6 +397,11 @@ static DWORD HandleException(EXCEPTION_POINTERS *ptrs,
{ {
*pdw = ptrs->ExceptionRecord->ExceptionCode; *pdw = ptrs->ExceptionRecord->ExceptionCode;
*record = *ptrs->ExceptionRecord; *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; return EXCEPTION_EXECUTE_HANDLER;
} }
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment