Hi,
I'm developing a multi-threaded application with Borland C++ Builder Personal version 6.0. At run-time, sometimes (too often ;-) ) one of the threads stops while the others (and also the main program thread) continue. I don’t know the reason why the thread stops; I suppose some kind of error occurs. Unfortunately I’m not able to investigate the problem in the debugger since the debugger is not triggered by the stopped thread. Placing breakpoints doesn’t help either since such breakpoints only take me to those parts of the application that still run fine (hence do not contain the problem at hand).
Does anyone know how to effectively debug multi-threaded applications?
Thanks very much for your help,
Michiel.
I'm developing a multi-threaded application with Borland C++ Builder Personal version 6.0. At run-time, sometimes (too often ;-) ) one of the threads stops while the others (and also the main program thread) continue. I don’t know the reason why the thread stops; I suppose some kind of error occurs. Unfortunately I’m not able to investigate the problem in the debugger since the debugger is not triggered by the stopped thread. Placing breakpoints doesn’t help either since such breakpoints only take me to those parts of the application that still run fine (hence do not contain the problem at hand).
Does anyone know how to effectively debug multi-threaded applications?
Thanks very much for your help,
Michiel.