Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311870 - Removing classloading breakpoint from 'Breakpoints' view with delete key prompts for file deletion
Summary: Removing classloading breakpoint from 'Breakpoints' view with delete key prom...
Status: RESOLVED FIXED
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 1.0 RC0   Edit
Assignee: Project Inbox CLA
QA Contact: Oleg Besedin CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-06 08:51 EDT by Remy Suen CLA
Modified: 2010-06-21 16:26 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.