[Lazarus] Remote debugger looses connection to target on Windows 7

Martin Frb lazarus at mfriebe.de
Fri Apr 11 17:15:18 CEST 2014

On 11/04/2014 15:08, Bernd Mueller wrote:
> Martin Frb wrote:
>> There are several possibilities, that I can think off:
>> 1) some setting the IDE uses.
>> - Gather all the "set foo=" commands that the IDE sends, and see if 
>> applying them to your manual driven gdb session makes a different.
>> - Run your manual gdb with "gdb.exe -i mi " to enable mi mode (I  do 
>> not think that is it, but ....)
>> 2) Timing (again, and not unlikely)
>> If you open gdb in a terminal, it prints to that terminal. In the IDE 
>> it prints to a pipe. That may take different amount off time.
> thank you, for pointing this out.
>> Also, does your sniffer give the time, between the "step over" sent 
>> to the target, and the packet that comes pack, and is ignored? 
>> compared to when it works?
> In both cases, it shows nearly identically times. It takes about 1,9 
> ms until the breakpoint reply packet has reached the host. Nearly the 
> same on Win2000.
> If I activate gdbservers debug log, then it takes about 5,2 ms.


But this goes beyond my gdb knowledge. It may be something to ask on the 
gdb list.

More information about the Lazarus mailing list