This is the mail archive of the
mailing list for the GDB project.
Re: Single stepping and threads
> That's correct. GDB is unavoidably intrusive when it comes to
> thread scheduling. The default behavior ("off"), is the least
> intrusive, and somewhat randomly, unpredictably intrusive.
> "Step" would be more intrusive, and non-randomly so. It will
> cause the "current" thread to be strongly preferred, and other
> threads will probably starve.
> "On" is the most intrusive -- no other threads can run, and
> if there are any synchronization issues, the program will
> eventually deadlock.
I personally am a big fan of "on", btw. Your points make me like
it even more...