Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>To complete mark's answer, that option tells Eclipse when to switch to the associated perspective upon program suspension - meaning when a breakpoint is hit, it will switch to Debug perspective.</p> <p><strong>Switching back to another perspective after you're done debugging has to be manual</strong></p> <p><img src="https://i.stack.imgur.com/CZWnn.jpg" alt="Java perspective"></p> <p>If you want to avoid it switching to Debug in the first place, you can choose "Never" as the option (introduced in Eclipse 3.2 at the time).</p> <p>(You can find the given <code>Preferences</code> page in <code>Run/Debug &gt; Perspective</code>)</p> <p><img src="https://i.stack.imgur.com/pZLhC.png" alt="alt text"></p> <p>If you want to switch back in the situation where the debugged program terminates normally (Not when <em>you</em> want to stop debugging it yourself), you may hope Eclipse figures out that your program terminates normally and switch to a "default" perspective at that time...</p> <p>However, there is no notion of "default" perspective, so how would Eclipse knows which one to switch to ? (the "Preferences/Perspectives/Make default" is only for the "Open Perspective" dialog, but that may not be the same perspective than the one you actually want to switch back to after a debug)</p> <p><img src="https://i.stack.imgur.com/l6mCj.gif" alt="Open perspective"></p> <p>Also, should Eclipse closes the Debug perspective or just changes to a different one ?<br> What if there is more than one program running -- when one terminates, you might still be interested in debugging the other one, or maybe not.</p> <p>The point is, the decision about <em>when</em> to change perspective (and <em>what</em> perspective to change to) is not reasonable for the machine to make -- it requires a person knowing what he wants to do next.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload