I use Eclipse for coding, but I have a problem. When I debug a C++ project, Eclipse automatic switches to the Debug perspective, but I don't want the automatic switch. How can I disable the automatic switching?
To change perspective from Mission ControlSelect the perspective you want to open. If the perspective name does not appear on the context menu, select Other... to open the Open Perspective dialog box and select the perspective from there.
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.
If Eclipse does not automatically switch to the Debug perspective, you can locate it manually in the Window entry on the menu bar or by clicking the Choose Perspective button (a button with a plus on it) in the upper right corner of the Eclipse window under the menu bar line.
The default perspective is called java. An eclipse window can have multiple perspectives open in it but only one perspective is active at any point of time. A user can switch between open perspectives or open a new perspective. The active perspective controls what appears in some menus and tool bars.
An eclipse window can have multiple perspectives open in it but only one perspective is active at any point of time. A user can switch between open perspectives or open a new perspective. The active perspective controls what appears in some menus and tool bars. To open a new perspective, click on the Windows menu and select Open Perspective → Other
Goto Windows - > preference -> General -> perspectives -> make default your perspective or press reset to default to forget the previous settings. Show activity on this post. @skaffman in addition to this you may also need to set the Prefrences> Run/Debug> Perspectives> "Open associated perspective when an application suspends" to Prompt or never.
Users can switch between open perspectives by clicking on the Perspective name on the toolbar. To close a perspective, right click on the perspective name in toolbar and select the Close menu item. The customize perspective dialog can be used to customize a perspective. Customizing a perspective means −
The accepted answer did not work for me debugging Java on Eclipse Juno SR1, but this did:
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