Improved error handling in w32 debugging
This commit is contained in:
parent
3c6c74555d
commit
7fe01ac2ce
1 changed files with 3 additions and 1 deletions
|
|
@ -666,7 +666,9 @@ void w32_break_process (void *d) {
|
|||
"DebugBreakProcess");
|
||||
}
|
||||
if (process != INVALID_HANDLE_VALUE && w32_dbgbreak != NULL) {
|
||||
w32_dbgbreak (process);
|
||||
if (!w32_dbgbreak (process)) {
|
||||
print_lasterr ((char *)__FUNCTION__, "DebugBreakProcess");
|
||||
}
|
||||
}
|
||||
CloseHandle (lib);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue