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

Bernd prof7bit at googlemail.com
Sun Jul 18 13:16:32 CEST 2010


2010/7/18 Sven Barth <pascaldragon at googlemail.com>:
> GDB registers itself as a debugger with Windows for that application and
> thus Windows itself is routing all messages that are sent with
> OutputDebugString to that registered debugger.

>From what I have read about this mechanism it is not possible to
register for these messages as long as there is another program
already registered and running. I can start DebugView and it will work
and continue to capture messages from other applications *before* and
*during* the run of GDB, so GDB cannot use the normal mechanism. It
must somehow intercept these calls before they reach the windows API.
At least this is the only explanation I have to explain the observed
behavior.




More information about the Lazarus mailing list