tags:

views:

1193

answers:

3

So Eclipse by default automatically switches to the Debug perspective when you hit a breakpoint. However, it is annoying me that it doesn't automatically switch back to the previous perspective (say, Java) when terminating the process. It just stays in the debug perspective even though there is nothing to debug because nothing is running.

Is this possible?

+1  A: 

you would need to write eclipse plugin

here i found example how in plugin switch perspective

01
I am surprised that such a fundamental user interaction is missing from what is supposedly the worlds most used IDE.
helifreak
+4  A: 
VonC
I agree with everything but "is not reasonable for the machine to make ". Visual Studio does a fine job by returning to the main view when there are no processes left to debug.
Joe Ludwig
@Joe Ludwig: agreed. Eclipse may be victim of its own complexity, tricking itself into *not* offering this feature.
VonC
@Joe Ludwig: btw, sorry: I did not play at Pirate: I am not so much into MMO... Right now, I play GTAIV (solo) ;)
VonC
I think the appropriate solution would be to switch back to the previous perspective that I was in before the debug perspective, if all debug sessions have ended. As Joe mentioned, Visual Studio, and all other IDEs i've used do this by default.
helifreak
A: 

I filed a bug for this:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=327983

Bishop