how to switch between threads

Eric Pouech eric.pouech at wanadoo.fr
Fri Dec 6 11:17:08 CST 2002


> How dose debuggers handle MultiThreaded Applications?
> Can i Shit to different Thread to exmine where is it
> when the program Halted?
when you've hit a bp, you can use bt 1234 to see the
backtrace of thread 1234 (where 1234 is the thread id)

a good way to know thread ids is to call walk proc and walk thread

once the debugger is handling an exception (single step, breakpoint...),
all threads of the process are stopped, so you can look at whatever you
want
however, there's no way (currently) to restart a specific thread (only).
we're always in a all or nothing fashion

A+



More information about the wine-devel mailing list