[Lazarus] disable the debugger capturing the OutputDebugString() messages
Bernd
prof7bit at googlemail.com
Wed Jul 21 20:03:22 CEST 2010
The following program will silently terminate as soon as the
debugserver is terminated while the program is still running. There
are no exceptions or any other messages, it just silently exits back
to the command prompt. I haven't yet tried with GDB to see where
exactly this happens. IIRC when I tried this on Windows yesterday this
didn't happen. (don't have a windows box available now to test it).
program debugservertest;
{$mode objfpc}{$H+}
uses
dbugintf, sysutils;
var
count : Integer;
begin
count := 0;
repeat
SendDebug(IntToStr(count));
writeln(count);
count += 1;
Sleep(1000);
until False;
end.
More information about the Lazarus
mailing list