Question

Long story short, I am debugging a big application which I didn't write. It is throwing an error when it runs on the server on which it is supposed to be run, so I am testing on my own machine with the debugger attached to see what happens.

It has thousands of lines of code, and has been running for a couple of hours now. I want to know which line of code is currently executing, so I can get a rough idea of how long is left, but I don't want to Break All as the code is...rickety.

Short of firing watchpoints all over the place in a spray and pray fashion, is there a non-invasive way to see which line of code is executing right now?

Thanks

Was it helpful?

Solution

Process Explorer can show the currently executing line and call stack in the process.

Right-click a process, click Properties, and then click the Threads tab.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top