Bug 6905 - Source does not show up on debugger running "Runtime Workbench"
Summary: Source does not show up on debugger running "Runtime Workbench"
Status: RESOLVED DUPLICATE of bug 6855
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Erich Gamma CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-12-13 14:21 EST by Rodrigo Peretti CLA
Modified: 2001-12-14 06:31 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rodrigo Peretti CLA 2001-12-13 14:21:44 EST
build 20011211

Trying to debug a an Ant task provided by PDE Core, I select pde.core 
plugin.xml, choose "Runtime Workbench" from the Debug drop down menu. At the 
time the code hits a breakpoint, the source file does not show up (the editor 
is empty but I can see the breakpoint icon on the side). A dialog appears 
saying an internal error has occurred and that I should look at the log. 
Here's the log:

Log: Thu Dec 13 14:22:18 EST 2001
1 org.eclipse.core.resources 4 Unhandled exception caught in event loop.
Log: Thu Dec 13 14:22:18 EST 2001
4 org.eclipse.ui 0 Failed to execute runnable 
(java.lang.IllegalArgumentException: Index out of bounds)
org.eclipse.swt.SWTException: Failed to execute runnable 
(java.lang.IllegalArgumentException: Index out of bounds)
	at org.eclipse.swt.SWT.error(SWT.java:1887)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages
(Synchronizer.java:96)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:1345)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java
(Compiled Code))
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java
(Compiled Code))
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:758)
	at org.eclipse.core.internal.boot.InternalBootLoader.run
(InternalBootLoader.java:820)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:285)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:151)
	at org.eclipse.core.launcher.Main.run(Main.java:502)
	at org.eclipse.core.launcher.Main.main(Main.java:362)

I can provide my workspace if necessary.
Comment 1 Rodrigo Peretti CLA 2001-12-13 14:35:35 EST
Seems related to the "Show source of selected element only" (we should have a 
code name for this option SSSEO? :-) problem. If have that option unselected, 
everything works fine.
Comment 2 Erich Gamma CLA 2001-12-14 06:31:10 EST
a patch with a fix is attached to 6855

*** This bug has been marked as a duplicate of 6855 ***