Поделиться через


Debugging Functions (Compact 2013)

3/28/2014

The following tables show the debugging functions with a description of the purpose of each.

Programming element

Description

ContinueDebugEvent

Enables a debugger to continue a thread that previously reported a debugging event.

DebugActiveProcess

Allows a debugger to attach to an active process and then debug it.

DebugActiveProcessStop

Stops the debugger from debugging the specified process.

DebugBreak

Causes a breakpoint exception to occur in the current process so that the calling thread can signal the debugger and force it to take action.

IsDebuggerPresent

Determines whether the calling process is being debugged by a user-mode debugger.

GetThreadContext

Retrieves the context of the specified thread.

NKDbgPrintfW

Prints a string to the debug output stream.

OutputDebugString

Sends a string to the debugger for the current application.

RegisterDbgZones

Registers debug zone settings for a process or DLL.

WaitForDebugEvent

Waits for a debugging event to occur in a process being debugged.

WriteDebugLED

Lets an application send debug events to an OEM-supplied LED.

CheckRemoteDebuggerPresent

Determines whether the specified process is being debugged.

See Also

Reference

Debugging Reference