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?
Asked
Active
Viewed 3.0k times
44
-
possible duplicate of [How do I turn off "Automatically Switch to Debug Perspective" mode in eclipse?](http://stackoverflow.com/questions/2515762/how-do-i-turn-off-automatically-switch-to-debug-perspective-mode-in-eclipse) – Steve Chambers May 02 '14 at 15:07
1 Answers
43
The accepted answer did not work for me debugging Java on Eclipse Juno SR1, but this did:
- Window | Preferences... menu item
- Choose Run/Debug on the left, about half-way down.
- Choose Perspectives under that
- Select Never at Open the associated perspective when launching and Open the associated perspective when an application suspends

Oliver Bock
- 4,829
- 5
- 38
- 62
-
-
-
I was looking for enabling the automatic perspective change when starting debug in CDT. Choosing "Always" in both selection boxes worked. But when finishing debug it does not return to C/C++ perspective. – sancho.s ReinstateMonicaCellio Nov 25 '16 at 18:49