Reputation: 210525
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.
Upvotes: 1
Views: 2272
Reputation: 8960
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.
Upvotes: 1
Reputation: 51451
I've been after this myself (as it would be very convenient) every now and again, but so far in my search I've come up with nothing.
Short of writing an Eclipse plugin to switch to previous perspective on debugger disconnect there is no "automatic" solution.
However, I have grown accustomed to the CTRL+SHIFT+F8 which is default shortcut (on Windows) to switch back to "Previous Perspective".
Upvotes: 2
Reputation: 161
When you manually switch to Debug mode for the first time while debugging it will show a checkbox with 'Automatically switch to Debug in future'.
Upvotes: -2