Is it possible for Eclipse to execute arbitrary expression at a specific point in the code when debugging?
The function Execute / Display allows you to run arbitrary code in the context of debugging. A breakpoint stops the thread.
What I would like is that something like a breakpoint that can be inserted at a specific point in the class does not stop the application flow, but instead executes a piece of code.
In the background, I am trying to debug multithreaded code that I cannot edit, and I want to make a naive System.out.println
to see when different things happen. If I use breakpoints, the event flow will be disrupted.
source share