Click to Rate and Give Feedback
MSDN
MSDN Library
Diagnostics
Basic Debugging
Debugging Reference
Debugging Functions
Debugging Functions

The following functions are used with debugging.

FunctionDescription
CheckRemoteDebuggerPresentDetermines whether the specified process is being debugged.
ContinueDebugEventEnables a debugger to continue a thread that previously reported a debugging event.
DebugActiveProcessEnables a debugger to attach to an active process and debug it.
DebugActiveProcessStopStops the debugger from debugging the specified process.
DebugBreakCauses a breakpoint exception to occur in the current process.
DebugBreakProcessCauses a breakpoint exception to occur in the specified process.
DebugSetProcessKillOnExitSets the action to be performed when the calling thread exits.
FatalExitTransfers execution control to the debugger.
FlushInstructionCacheFlushes the instruction cache for the specified process.
GetThreadContextRetrieves the context of the specified thread.
GetThreadSelectorEntryRetrieves a descriptor table entry for the specified selector and thread.
IsDebuggerPresentDetermines whether the calling process is being debugged by a user-mode debugger.
OutputDebugStringSends a string to the debugger for display.
ReadProcessMemoryReads data from an area of memory in a specified process.
SetThreadContextSets the context for the specified thread.
WaitForDebugEventWaits for a debugging event to occur in a process being debugged.
Wow64GetThreadContextRetrieves the context of the specified WOW64 thread.
Wow64SetThreadContextSets the context of the specified WOW64 thread.
WriteProcessMemoryWrites data to an area of memory in a specified process.

Send comments about this topic to Microsoft

Build date: 9/20/2008

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Which Debugging Function to use for Vista x64?      ddaS-edEn   |   Edit   |  

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 What's this?: Add a tag
Flag as ContentBug
Get next assembly command to be executed      tepez   |   Edit   |  
How can I get the next assembly command to be executed (the opcode and the parameters) of a thread which is now suspended?



Tags What's this?: Add a tag
Flag as ContentBug
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker