|
|
Line 1: |
Line 1: |
| Debug Notification -1 - Error Notification
| | #REDIRECT[[Debug Notifications]] |
| | |
| This notification returns:
| |
| * Cmd= DBG_N_Error
| |
| * Value= Any standard error code
| |
| | |
| An error was detected while attempting a DosDebug command.
| |
| | |
| Error codes are returned from DosDebug in different ways:
| |
| | |
| 1.Errors can be returned via the standard method (EAX = ERROR_CODE).
| |
| | |
| This is only done when the DosDebug command failed to execute at all. An example of this would be ERROR_INTERRUPT when the debugger receives a signal. If DosDebug returns a nonzero value in the EAX register, the returned Debug buffer is invalid.
| |
| | |
| 2.Errors are also returned via the DBG_N_Error notification.
| |
| | |
| This is used when the DosDebug command was attempted, but failed due to some internal DosDebug failure. Examples of error codes returned via this interface are ERROR_INVALID_PROCID and ERROR_INVALID_DATA. Generally, these errors are detected while in the context of the debuggee process, and may include ERROR_INTERRUPT.
| |
| | |
| | |
| [[Category:DBG_N]] | |
| {{DISPLAYTITLE:DBG_N_ERROR}}
| |