Debugging Functions

The following functions are used with debugging.

FunctionDescription
CheckRemoteDebuggerPresent Determines whether the specified process is being debugged.
ContinueDebugEvent Enables a debugger to continue a thread that previously reported a debugging event.
CopyExtendedContext Copies processor state from one processor context record to another.
DebugActiveProcess Enables a debugger to attach to an active process and debug it.
DebugActiveProcessStop Stops the debugger from debugging the specified process.
DebugBreak Causes a breakpoint exception to occur in the current process.
DebugBreakProcess Causes a breakpoint exception to occur in the specified process.
DebugSetProcessKillOnExit Sets the action to be performed when the calling thread exits.
FatalExit Transfers execution control to the debugger.
FlushInstructionCache Flushes the instruction cache for the specified process.
GetEnabledExtendedFeatures Returns the processor extended features that are enabled by the operating system.
GetExtendedContextLength Retrieves the buffer size needed to store a processor context record.
GetExtendedFeaturesMask Retrieves the extended features for which state is stored in a processor context record.
GetThreadContext Retrieves the context of the specified thread.
GetThreadSelectorEntry Retrieves a descriptor table entry for the specified selector and thread.
InitializeExtendedContext Initializes a processor context record.
IsDebuggerPresent Determines whether the calling process is being debugged by a user-mode debugger.
LocateExtendedFeature Retrieves state for the specified extended feature from a processor context record.
LocateLegacyContext Returns a pointer to the CONTEXT structure in a processor context record.
OutputDebugString Sends a string to the debugger for display.
ReadProcessMemory Reads data from an area of memory in a specified process.
SetExtendedFeaturesMask Specifies the processor extended features to store in a processor context record.
SetThreadContext Sets the context for the specified thread.
WaitForDebugEvent Waits for a debugging event to occur in a process being debugged.
Wow64GetThreadContext Retrieves the context of the specified WOW64 thread.
Wow64GetThreadSelectorEntry Retrieves a descriptor table entry for the specified selector and WOW64 thread.
Wow64SetThreadContext Sets the context of the specified WOW64 thread.
WriteProcessMemory Writes data to an area of memory in a specified process.

 

 

 

Send comments about this topic to Microsoft

Build date: 1/22/2010

Tags :


Community Content

ddaS-edEn
Which Debugging Function to use for Vista x64?

Which debugging function works successfully on Vista 64 bit - so that I can get the output in DebugView v4.64?

I'm using OutputDebugString() that seems to have no effect in Vista x64.

I understand that OutputDebugString() works only with Win32, but whats its replacement in Vista x64?

In immediate need. :(

 

OK. GOT IT.!!

This is the SOLUTION:

In DebugView 4.64, make sure that Capture Global Win32 is enabled. To do this, in the DebugView 4.64 main menu go to Capture and see if the Capture Global Win32 item is checked. If not, check it.

Upon doing this, you'll notice that OutputDebugString() output appears in DebugView 4.64 on Vista x64.

Tags :

tepez
Get next assembly command to be executed
How can I get the next assembly command to be executed (the opcode and the parameters) of a thread which is now suspended?



Tags :

Page view tracker