44

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?

Nathan
  • 8,093
  • 8
  • 50
  • 76
ewggwegw
  • 4,262
  • 5
  • 26
  • 27
  • 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 Answers1

43

The accepted answer did not work for me debugging Java on Eclipse Juno SR1, but this did:

  1. Window | Preferences... menu item
  2. Choose Run/Debug on the left, about half-way down.
  3. Choose Perspectives under that
  4. 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