Add this URL to your Eclipse Installation to reach this solution's update site.
Automatically opens previous perspective when debugging ends.
Behaviors: (configurable: Preferences -> Debug Perspective Auto Closer)
1) [default] when all debug launches have terminated, changes to perspective active on first launch
2) when any debug launch has terminated, changes to perspective active on that launch
- Only changes perspective when in debug perspective.
Unsuccessful Installs in the last 7 Days: 0
By adding the following code below to your website you will be able to add an install button for Debug Perspective Auto Closer .HTML Code:
Submitted by Ivan B on Sun, 2020-03-29 12:32
Thank you for your efforts.
I tried the plugin in 2019-12 and 2020-03 and it doesn't seem to work. Any clues?
In Error Log however I do see some activities related to plugin:
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -data file:/<full_path>/ -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
Sun Mar 29 19:22:27 EEST 2020
Sun Mar 29 19:22:56 EEST 2020
Submitted by Francesco ********** on Sat, 2020-04-04 15:35
unfortunately, I couldn't repoduce the issue. I've just tested it with a fresh version 2020-03 and a simple java project and it worked for me. The log entries do not show an Error/Exception. The log statements indicate that the plugin noticed the debug launch and the debug termination. It should have switched back to the previous perspective if
1) debugging was started from a (non-debug) perspective and
2) the debug perspective was active when the debugging ended
If it didn't switch back under those conditions, it could be an issue if not the standard debug perspective was used.
I would need specific reproduction steps to investigate further. I've added a contact mail address to the plugin description.
Submitted by Pierre-Yves Bigourdan on Wed, 2019-01-16 11:31
There quite a popular bug to fix this in Eclipse (https://bugs.eclipse.org/bugs/show_bug.cgi?id=46336), I'm wondering why you didn't contribute to the IDE directly rather than create a separate plugin. ;)
Submitted by Francesco ********** on Wed, 2019-01-16 17:25
For those reasons:
1) The bug report:
a) After I had read the bug discussion, it wasn't clear to me how they wanted it exactly. There are comments about switching to the initial perspective, but comment 33 it says it should switch to the perspective set in the preferences.
b) It seems to be a very long process. In 2011 there was a patch submitted but it took more than 4 months for someone to look at it. After that nothing happened.
2) I am not familiar with the eclipse internals.
I feared that it might take too long or get bogged down.
By doing it as a plugin it's faster out there (and can be used with older eclipse versions).
If the behavior of the plugin is close enough to what the maintainers want, I would be willing to attempt to write a patch for it.
I thought it would be good to get some feedback and bug reports for the plugin first.