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

Bug 436062

Summary: Run As/Debug As switched in context menu
Product: [Eclipse Project] Platform Reporter: Paul Webster <pwebster>
Component: DebugAssignee: Michael Rennie <Michael_Rennie>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: christian.georgi, daniel_megert, Michael_Rennie, sarika.sinha
Version: 4.4   
Target Milestone: 4.5 M7   
Hardware: All   
OS: All   
See Also: https://git.eclipse.org/r/44805
https://git.eclipse.org/c/platform/eclipse.platform.debug.git/commit/?id=5a6e5872277f3ba6d89403cea2021548c0ef7b15
Whiteboard:

Description Paul Webster CLA 2014-05-28 10:05:33 EDT
In 3.8 in the context menu, I see:

Run As
Debug As

In 4.x, I see:

Debug As
Run As

PW
Comment 1 Eclipse Genie CLA 2015-03-29 14:04:54 EDT
New Gerrit change created: https://git.eclipse.org/r/44805
Comment 2 Christian Georgi CLA 2015-03-29 14:05:47 EDT
This is a debug UI issue, see the proposed patch.  Please reassign this bug to platform debug UI.
Comment 3 Sarika Sinha CLA 2015-03-30 09:36:24 EDT
Mike,
Do you remember if there was a reason behind this change ?
Comment 4 Dani Megert CLA 2015-03-30 11:15:01 EDT
(In reply to Sarika Sinha from comment #3)
> Mike,
> Do you remember if there was a reason behind this change ?

I don't think so. It got changed during 4.3. Try to check in the code.
Comment 5 Christian Georgi CLA 2015-03-30 12:18:03 EDT
(In reply to Sarika Sinha from comment #3)
> Mike,
> Do you remember if there was a reason behind this change ?

Looking through the code it seemed to me that this was an effort to merge the two popupMenus extension elements into one.  Maybe then the PDE tooling reorganized the xml in the reverse order.
Comment 6 Sarika Sinha CLA 2015-03-31 03:56:35 EDT
(In reply to Dani Megert from comment #4)
> (In reply to Sarika Sinha from comment #3)
> > Mike,
> > Do you remember if there was a reason behind this change ?
> 
> I don't think so. It got changed during 4.3. Try to check in the code.

I did check the code , there is no bug associated and comment says "provide project-specific API Tools settings"
Changes with this commit are the addition of pde.api.prefs for all the plugins  but plugin.xml change is done only for debug.ui plugin.
Comment 7 Dani Megert CLA 2015-04-01 11:40:42 EDT
(In reply to Sarika Sinha from comment #6)
> (In reply to Dani Megert from comment #4)
> > (In reply to Sarika Sinha from comment #3)
> > > Mike,
> > > Do you remember if there was a reason behind this change ?
> > 
> > I don't think so. It got changed during 4.3. Try to check in the code.
> 
> I did check the code , there is no bug associated and comment says "provide
> project-specific API Tools settings"
> Changes with this commit are the addition of pde.api.prefs for all the
> plugins  but plugin.xml change is done only for debug.ui plugin.

Thanks Sarika. So, let's fix this for M7.
Comment 9 Michael Rennie CLA 2015-04-10 14:14:14 EDT
Merged.
Comment 10 Sarika Sinha CLA 2015-04-27 01:11:36 EDT
Verified using
Eclipse SDK

Version: Mars (4.5)
Build id: I20150426-2000