I have accidentally set in the past the eclipse to switch to debug view when break point is hit.
How do i cancel that, meaning make it manually
thanks
In the navigation view, choose Process Table. Select the relevant server process and, from the context menu, choose Stop Debug Session. In the Stop Debug Session dialog box, choose the debug entry for which you want to disable the debug mode.
To end a debugging session in Microsoft Visual Studio, from the Debug menu, choose Stop Debugging.
A Java program can be debugged simply by right clicking on the Java editor class file from Package explorer. Select Debug As → Java Application or use the shortcut Alt + Shift + D, J instead.
Uncheck:
Window > Preferences > Run/Debug > Activate the debug view when a breakpoint is hit
Also go to
Window -> Preferences -> Run/Debug -> Perspectives
And select either "never" or "prompt" in "Open associated perspective..."
In your question you speak of a debug 'view', but I think you are actually referring to the debug 'perspective'. If not, just disregard my answer.
To stop Eclipse from switching to the Debug perspective when a breakpoint is hit:
Window -> Preferences -> Run/Debug -> Perspectives -> 'Open the associated perspective when an application suspends' -> Never
The Debug View is the window that shows the running application, it's threads and each thread's call stack in a tree view and gives you little 'play', 'pause', 'stop' etc buttons for things like Resume, Suspend, Terminate. I think the option referred to by the accepted answer tells Eclipse whether it should make this view the active view (within whatever perspective is set to open in debug mode) when a breakpoint is hit. Probably you do want that to be enabled...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With