|
@@ -107,7 +107,7 @@ HL_API bool hl_debug_read( int pid, vbyte *addr, vbyte *buffer, int size ) {
|
|
size -= sizeof(long);
|
|
size -= sizeof(long);
|
|
buffer += sizeof(long);
|
|
buffer += sizeof(long);
|
|
}
|
|
}
|
|
- return true;
|
|
|
|
|
|
+ return true;
|
|
# else
|
|
# else
|
|
return false;
|
|
return false;
|
|
# endif
|
|
# endif
|
|
@@ -186,6 +186,7 @@ HL_API int hl_debug_wait( int pid, int *thread, int timeout ) {
|
|
ContinueDebugEvent(e.dwProcessId, e.dwThreadId, DBG_CONTINUE);
|
|
ContinueDebugEvent(e.dwProcessId, e.dwThreadId, DBG_CONTINUE);
|
|
break;
|
|
break;
|
|
case 0xE06D7363: // C++ EH EXCEPTION
|
|
case 0xE06D7363: // C++ EH EXCEPTION
|
|
|
|
+ case 0x6BA: // File Dialog EXCEPTION
|
|
ContinueDebugEvent(e.dwProcessId, e.dwThreadId, DBG_EXCEPTION_NOT_HANDLED);
|
|
ContinueDebugEvent(e.dwProcessId, e.dwThreadId, DBG_EXCEPTION_NOT_HANDLED);
|
|
break;
|
|
break;
|
|
case EXCEPTION_STACK_OVERFLOW:
|
|
case EXCEPTION_STACK_OVERFLOW:
|
|
@@ -213,7 +214,7 @@ HL_API int hl_debug_wait( int pid, int *thread, int timeout ) {
|
|
if( sig == SIGSTOP || sig == SIGTRAP )
|
|
if( sig == SIGSTOP || sig == SIGTRAP )
|
|
return 1;
|
|
return 1;
|
|
return 3;
|
|
return 3;
|
|
- }
|
|
|
|
|
|
+ }
|
|
return 4;
|
|
return 4;
|
|
# else
|
|
# else
|
|
return 0;
|
|
return 0;
|