I ask if the following steps can be taken in the following order:
- Running as ... Java Application
- Let the program run until it reaches the point I want to debug
- Debug this program when it reaches this point.
The reason I run the program using "Run from ..." rather than "Debug as ..." is because the program freezes at some point (I suspect an infinite loop), but I cannot repeat it in sequence. I mean, I can make it hang sequentially, but this happens in random cases.
For what it's worth, my program is a game, and it hangs at different points in the game, so I canโt be sure where to put a breakpoint, so it would be great if I could start it first and then switch to debugging at a point, where it hangs / loops.
source share