Debug Perspective not triggering on program suspend [message #702974] |
Tue, 26 July 2011 22:15  |
Eclipse User |
|
|
|
I've started implementation of a DBGP interface for my debugger, but I can't seem to get it to trigger the debug perspective when viewing.
I've traced execution comparing with the Ruby IDE up to where the debug suspend event is fired from ScriptThread using DebugEventHelper.fireSuspendEvent(). At that point the ruby IDE pops the "switch perspective?" dialog, but my language IDE does not.
Run/Debug settings show "Debug" perspective selected for my application's launch configuration.
I've looked through the various plugin.xml for perspective and launch-related stuff that might be off, but haven't found anything obvious.
I can manually switch to debug perspective and see the current program state, single step, etc. so that part is working fine.
What's missing to trigger the automatic switch?
(using DLTK 2.0 maintenance branch from CVS)
|
|
|
|
Re: Debug Perspective not triggering on program suspend [message #707069 is a reply to message #706652] |
Mon, 01 August 2011 03:50  |
Eclipse User |
|
|
|
Hi Timothy,
Ensure you have set Perspectives properties "Open the associated perspective when ..." to Always or to Prompt. I had the same problem when these properties were "misteriously" set to Never : it was as if my debugger stopped working !
I also have added a debug perspective shortcut in my Perspective class, like this :
layout.addPerspectiveShortcut("org.eclipse.debug.ui.DebugPerspective");
Regards,
David
[Updated on: Mon, 01 August 2011 09:50] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.06243 seconds