The execution point for other threads in Delphi 2010

I am developing a multi-threaded client application using Delphi 2010 (using the excellent OmniThreadLibrary), and it is difficult for me to debug, as I constantly switch from one thread to another.

I wonder if it is possible (using any tool or plugin, I don't care!) To find the current execution point, not just for the current thread, but for all other threads.

The simplest example / report:

Thread #1 stopped at line #5 Thread #2 stopped at line #25 (<-- breakpoint set here, causing Delphi to stop) Thread #3 stopped at line #78 

My goal is to β€œsee” what other threads do when Delphi stops at a specific breakpoint, not just using the logs (or the not-so-useful Thread 12345), but check them as if the breakpoint stopped at them.

I hope my question is clear enough, pay attention to it after midnight here, so don't blame me if my question sounds silly!

+4
source share
1 answer

If I understand you correctly, you should open the stream window at the breakpoint (Ctrl-Alt-T), and then simply double-click any stream to see where it is running.

+6
source

Source: https://habr.com/ru/post/1395124/


All Articles