This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdb influencing app behaviour ?
- From: Andreas Schwab <schwab at redhat dot com>
- To: danny dot backx at scarlet dot be
- Cc: gdb <gdb at sourceware dot org>
- Date: Tue, 15 Mar 2011 10:09:39 +0100
- Subject: Re: gdb influencing app behaviour ?
- References: <1300134373.2002.8.camel@pavilion>
Danny Backx <danny.backx@scarlet.be> writes:
> The application appears to behave differently when I set a breakpoint in
> that function. (The application and the library were both trying to read
> from the socket, by setting the breakpoint the other one would always
> win the race.)
>
> How can this be explained ?
Any debugger will change the timing of the debuggee.
Andreas.
--
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E
"And now for something completely different."