On Wed, Feb 19, 2014 at 17:28, John Carr wrote: > > "gdb" (gdb 6.3) knows about threads but core dumps half the time > and is 10 years old. > > "egdb" (gdb 7.6) does not work right with multithreaded programs. It > sees only one thread. > > Neither supports "set scheduler-locking". > > Is there any good option for debugging a multithreaded program?
Depends on what you want to do. You can set the environment RTHREAD_DEBUG=1 (or 10, or 100) and it will print lots of noise to stderr. This is not everybody's preferred debugging tool, but it's come in handy from time to time. > What's the right mailing list for this, if not tech? Maybe misc. It's not terribly off topic for tech though.