Aelorean
May 10th, 2006, 13:38
I just started using ollydbg for particular tasks and noticed that it treats OutputDebugString() differently than windbg. Is there an option in ollydbg somewhere that I'm missing? I would prefer that it not automatically add a carriage return at the end of every OutputDebugString() call.
Otherwise, I have to do something like this...which is a major pain:
Otherwise, I have to do something like this...which is a major pain:
Code:
#ifdef OLLYDBG
sprintf(buf,"%s %s",DebugHeader,szOutput);
#else
sprintf(buf,"%s %s\n",DebugHeader,szOutput);
#endif
OutputDebugString(buf);