Debug Notifications
DBG_N_AsyncStop
Debug Notification -11 - Asynchronous Stop Notification
This notification returns:
- Cmd= DBG_N_AsyncStop
- Value= 0
- Addr= 0
An Asynchronous Stop request has been detected.
The asynchronous stop command is used to get the attention of some debuggee thread, so that the debugger can again control the process. Because any notification results in the debuggee's coming under control of the debugger again, the asynchronous stop notification becomes redundant in that case, and is not returned.
The asynchronous stop request will be overridden and ignored if another notification can be performed instead, at the same time. An asynchronous stop notification never becomes a "pending" notification, in the sense that a library load notification becomes pending.
DBG_N_AliasFree
Debug Notification -13 - Alias Free Notification
This notification returns:
- Cmd= DBG_N_AliasFree
- Buffer= 32-bit offset to debugger alias region
- Addr= 0
An object that contains an aliased region is about to be freed by the debuggee. This can also occur if the underlying memory object is about to be shrunk such that the alias would span memory outside the resultant object.
The alias region must be unmapped before the debugger may execute the debuggee again.
The DBG_C_UnMapAlias command is the proper response to an alias free notification.
If a debugger creates an alias to memory in another debugger, and that memory is itself an alias to the second debugger's debuggee, then the first debugger will not receive an alias free notification when the memory of the second debugger's debuggee is freed. The alias will be freed automatically. The second debugger will receive an alias free notification.