Platform SDK: Debugging and Error Handling

Debugging Functions

The following functions are used with debugging.

Function Description
ContinueDebugEvent Enables a debugger to continue a thread that previously reported a debugging event.
DebugActiveProcess Enables a debugger to attach to an active process and debug it.
DebugBreak Causes a breakpoint exception to occur in the current process.
FatalExit Transfers execution control to the debugger.
FlushInstructionCache Flushes the instruction cache for the specified process.
GetThreadContext Retrieves the context of the specified thread.
GetThreadSelectorEntry Retrieves a descriptor table entry for the specified selector and thread.
IsDebuggerPresent Determines whether the calling process is running under the context of a debugger.
OutputDebugString Sends a string to the debugger for display.
ReadProcessMemory Reads data from an area of memory in a specified process.
SetThreadContext Sets the context for the specified thread.
WaitForDebugEvent Waits for a debugging event to occur in a process being debugged.
WriteProcessMemory Writes data to an area of memory in a specified process.

Obsolete Functions

This function is provided only for compatibility with 16-bit versions of Windows.

SetDebugErrorLevel