Hi,
I am debugging wine with MS Media Player. Some places the program is blocking with som 7 to 8 threads opened. They are all waiting for a some event(ConnectNamedPipe) But i think there should be another thread with will Create the file or NamedPipe. So How can i see where the other threads are when i set a break point in a perticular method.
How dose debuggers handle MultiThreaded Applications? Can i Shit to different Thread to exmine where is it when the program Halted?
Thanks Rajesh
__________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
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+