[Lazarus] disable the debugger capturing the OutputDebugString() messages

Marc Weustink marc.weustink at cuperus.nl
Tue Jul 20 10:17:16 CEST 2010


Bernd wrote:
> 2010/7/19 Marc Weustink<marc.weustink at cuperus.nl>:
>> If gdb doesn't give them to me, they wont get displayed.
>
> They show up in the debug messages as warnings. Making the debug
> message window able to show/hide all the different types of messages
> would probably already be enough. Here is an example. Try to find the
> line with the debug message ;-)

This window has the purpose of showing all internal output. It is not 
meant for "normal" debugging. These messages should go to the eventlog.

>
> [...]
> (gdb)
> <-exec-continue>
> ^running
> *running,thread-id="all"
> (gdb)
> =thread-exited,id="2",group-id="3188"
> &"warning: this is a debug message sent from my program because I

I hoped on a bit more recognizable MI output.
& messages are stdoutput, so the "warning: ..." could have been a 
writeln too.

Marc






More information about the Lazarus mailing list