Search code examples
eclipseeclipse-cdt

How to Make Eclipse (C++) Switch from/to Debug Perspective Automatically?


How do you make Eclipse CDT automatically switch to the Debug perspective when I begin debugging, and automatically switch back to the previous perspective when the debuggees have terminated?

Note: In case this wasn't clear: I'm looking for a solution for switching to Debug and back.


Solution

  • Perspective Switcher has a configurable feature to automatically switch back to the previous perspective when the debugger terminates. It can also be configured to automatically switch to any perspective based on file extensions you specify. When an editor gets activated (i.e. opening a file or switching to a different file), then the perspective is automatically changed. This makes it easy to work with multiple languages.