Search code examples
c++windowsdebuggingexceptionollydbg

How to talk to a debugger,, or change exception message?


I know how to handle exceptions using Try .. catch kind what i actually do

push handler
push fs:[0]
.....

Once an exception occurs the debugger log file would throw Message=Access violation when writing to [00000001]

How do i throw another message to the debugger like "Function Calculate Started" using asm32 or Visual C++

so how can i talk to the debugger?


Solution

  • Sounds like you are really after WinAPI's OutputDebugString, olly will log this (so will any other debugger watching the global debug mutex), so will sysinternals dbgview.