Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 360637

Summary: Debug Tool Bar items do nothing
Product: [Eclipse Project] Platform Reporter: Dani Megert <daniel_megert>
Component: DebugAssignee: Pawel Piech <pawel.1.piech>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: pchuong
Version: 3.8   
Target Milestone: 3.8 M3   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Dani Megert CLA 2011-10-12 05:35:40 EDT
N20111011-2000.


1. start debugging
2. close the Debug view
3. click the Debug Toolbar buttons
==> nothing happens
Comment 1 Pawel Piech CLA 2011-10-12 09:23:17 EDT
I checked on this before committing the latest implementation.  When I try this workflow, I can actually continue debugging, just without the Debug view showing me the current context (i.e. the selection in the editor changes, variables view refreshes, etc.).  Do you see something different?

Also, as soon as the target suspends (after a step, etc.) the Debug view is shown, unless the preference "Activate the debug view when breakpoint is hit" is changed.
Comment 2 Dani Megert CLA 2011-10-12 09:27:38 EDT
(In reply to comment #1)
> I checked on this before committing the latest implementation.  When I try this
> workflow, I can actually continue debugging, just without the Debug view
> showing me the current context (i.e. the selection in the editor changes,
> variables view refreshes, etc.).  Do you see something different?
Yes, it does not work using N20111011-2000:

1. start new workspace
2. paste:
	public static void main(String[] args) {
		System.out.println(1);
		System.out.println(2);
		System.out.println(3);
	}
3. Debug As > Java Application
4. choose 'yes' to switch perspective
5. close Debug view
==> buttons don't work
Comment 3 Pawel Piech CLA 2011-10-12 18:32:12 EDT
Thank you for the steps to reproduce.  Looks like a bug we introduced last year with support for pin and clone, but nobody noticed since the affected run control actions were in the menu.

I pushed the fix to master, please verify.
Comment 4 Dani Megert CLA 2011-10-14 07:05:29 EDT
Verified in N20111013-2000.