'Is there an in-editor thread-tracking tool that shows each thread's position in source code?

I'm wondering if there are any existent tools out there that allow a user to track the progress of each thread (like stepping through source code in a IDE's debugger) in-editor? I'm not looking for tools that debug individual threads during runtime - rather, a tool that shows what happened during unimpeded execution after a program has executed? A record of each thread's progress would be taken and then the user could 'replay' the program's execution step-by-step.

I've mocked up a snapshot of what I'm imagining, in-editor:

enter image description here

I'm aware of tools like VisualVM that show a Gantt chart style representation of threads' execution, although I'm specifically interested in in-editor visualisations as described, where the thread's (at least approximate) position in source code is shown.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source