DosDebug Function

DosDebug enables the calling application to control another
application for debugging purposes.

#define INCL_DOSPROCESS
#include <os2.h>

PVOID   pDbgBuf;          /*Pointer to the Debug Buffer Structure*/
APIRET  rc;               /* Return code */

rc = DosDebug(pDbgBuf);

Return codes

DosDebug returns the following values:

0       NO_ERROR
87      ERROR_INVALID_PARAMETER
95      ERROR_INTERRUPT
115     ERROR_PROTECTION_VIOLATION


[Back: 16:16 Shared Address Ranges]
[Next: Sample DosDebug Function Call]