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

Bug 311870

Summary: Removing classloading breakpoint from 'Breakpoints' view with delete key prompts for file deletion
Product: [Eclipse Project] e4 Reporter: Remy Suen <remy.suen>
Component: UIAssignee: Project Inbox <e4.ui-inbox>
Status: RESOLVED FIXED QA Contact: Oleg Besedin <ob1.eclipse>
Severity: normal    
Priority: P3 CC: ob1.eclipse
Version: 1.0   
Target Milestone: 1.0 RC0   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Remy Suen CLA 2010-05-06 08:51:38 EDT
1. Put a breakpoint at the declaration of class.
2. Select the breakpoint in the 'Breakpoints' view.
3. Hit the 'Delete' key.
4. You are prompted to delete the file.

We appear to be processing a command when in 3.x we would have gotten a NotHandledException. This I believe is the same problem as what is described by bug 308593 comment 8.

Thread [main] (Suspended (breakpoint at line 161 in DeleteAction))	
	DeleteAction.run(IStructuredSelection) line: 161	
	DeleteAction(SelectionDispatchAction).dispatchRun(ISelection) line: 274	
	DeleteAction(SelectionDispatchAction).run() line: 250	
	DeleteAction(Action).runWithEvent(Event) line: 498	
	ActionHandler.execute(ExecutionEvent) line: 121	
	E4HandlerProxy.execute(IEclipseContext) line: 55	
	NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]	
	NativeMethodAccessorImpl.invoke(Object, Object[]) line: 48	
	DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 37	
	Method.invoke(Object, Object...) line: 600	
	MethodRequestor.execute() line: 42	
	InjectorImpl.invokeUsingClass(Object, Class<?>, Class<Annotation>, Object, PrimaryObjectSupplier, boolean) line: 178	
	InjectorImpl.invoke(Object, Class<Annotation>, Object, PrimaryObjectSupplier) line: 159	
	ContextInjectionFactory.invoke(Object, Class<Annotation>, IEclipseContext, Object) line: 103	
	HandlerServiceImpl.executeHandler(ParameterizedCommand) line: 114	
	KeyBindingDispatcher.executeCommand(ParameterizedCommand, Event) line: 265	
	KeyBindingDispatcher.press(List, Event) line: 464	
	KeyBindingDispatcher.processKeyEvent(List, Event) line: 514	
	OutOfOrderListener.handleEvent(Event) line: 60	
	EventTable.sendEvent(Event) line: 84	
	Tree(Widget).sendEvent(Event) line: 1052	
	Tree(Widget).sendEvent(int, Event, boolean) line: 1076	
	Tree(Widget).sendEvent(int, Event) line: 1061	
	Tree(Widget).sendKeyEvent(int, int, int, int, Event) line: 1102	
	Tree(Widget).sendKeyEvent(int, int, int, int) line: 1098	
	Tree(Widget).wmKeyDown(int, int, int) line: 1807	
	Tree(Control).WM_KEYDOWN(int, int) line: 4495	
	Tree.WM_KEYDOWN(int, int) line: 5976	
	Tree(Control).windowProc(int, int, int, int) line: 4190	
	Tree.windowProc(int, int, int, int) line: 5844	
	Display.windowProc(int, int, int, int) line: 4886	
	OS.DispatchMessageW(MSG) line: not available [native method]	
	OS.DispatchMessage(MSG) line: 2459	
	Display.readAndDispatch() line: 3655	
	PartRenderingEngine$4.run() line: 516	
	Realm.runWithDefault(Realm, Runnable) line: 332	
	PartRenderingEngine.run(MApplicationElement, IEclipseContext) line: 454	
	E4Workbench.createAndRunUI(MApplicationElement) line: 99
Comment 1 Oleg Besedin CLA 2010-06-21 16:14:46 EDT
Works on  I20100618-1748; likely fixed by keybindings improvements.