Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Eclipse Debug Problems (3.0)
Eclipse Debug Problems (3.0) [message #263660] Sun, 25 July 2004 04:09 Go to next message
Eclipse UserFriend
Originally posted by: derickson.cmcflex.com

Hi I am having problems using Eclipse's debugger.. everything was going
great until all of the sudden anytime I debug now, on the variables view
all I see is the current object (THIS) and then when I'm inside methods it
only shows the arguments passed in (ie arg0, arg1, arg2), it doesnt show
any of local declarations at all. This has suddenlly occurred in both
static and non static methods. I had this happen once before when I was
tracking through some JDK classes it was doing the same thing... any ideas?

Just so you know what I'm using, its Eclipse 3.0 with MyEclipse 3.8
Beta-2, debugging some classes running in a Tomcat 5 container that is
attached through the remote debugger. OS is WinXP SP1, on JDK 1.4.2.

Any help is greatly appreciated.
-David
Re: Eclipse Debug Problems (3.0) [message #263675 is a reply to message #263660] Sun, 25 July 2004 14:46 Go to previous messageGo to next message
Derek Adams is currently offline Derek AdamsFriend
Messages: 28
Registered: July 2009
Junior Member
David wrote:

> Hi I am having problems using Eclipse's debugger.. everything was going
> great until all of the sudden anytime I debug now, on the variables view
> all I see is the current object (THIS) and then when I'm inside methods it
> only shows the arguments passed in (ie arg0, arg1, arg2), it doesnt show
> any of local declarations at all. This has suddenlly occurred in both
> static and non static methods. I had this happen once before when I was
> tracking through some JDK classes it was doing the same thing... any ideas?

> Just so you know what I'm using, its Eclipse 3.0 with MyEclipse 3.8
> Beta-2, debugging some classes running in a Tomcat 5 container that is
> attached through the remote debugger. OS is WinXP SP1, on JDK 1.4.2.

> Any help is greatly appreciated.
> -David

MyEclipse adds its own copy of the jdt.debug and debug.ui plugins (as well
as some others) which may not be compatible with the workbench. I normally
go to the MyEclipse install directory (c:\Program
Files\MyEclipse\eclipse\plugins on Windows) and delete everything that
starts with org.eclipse..

Restart the workbench after you delete them.

Hope that helps!
Derek
Re: Eclipse Debug Problems (3.0) [message #263683 is a reply to message #263675] Sun, 25 July 2004 14:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: derickson.cmcflex.com

Derek Adams wrote:

> David wrote:

> > Hi I am having problems using Eclipse's debugger.. everything was going
> > great until all of the sudden anytime I debug now, on the variables view
> > all I see is the current object (THIS) and then when I'm inside methods it
> > only shows the arguments passed in (ie arg0, arg1, arg2), it doesnt show
> > any of local declarations at all. This has suddenlly occurred in both
> > static and non static methods. I had this happen once before when I was
> > tracking through some JDK classes it was doing the same thing... any ideas?

> > Just so you know what I'm using, its Eclipse 3.0 with MyEclipse 3.8
> > Beta-2, debugging some classes running in a Tomcat 5 container that is
> > attached through the remote debugger. OS is WinXP SP1, on JDK 1.4.2.

> > Any help is greatly appreciated.
> > -David

> MyEclipse adds its own copy of the jdt.debug and debug.ui plugins (as well
> as some others) which may not be compatible with the workbench. I normally
> go to the MyEclipse install directory (c:Program
> FilesMyEclipseeclipseplugins on Windows) and delete everything that
> starts with org.eclipse..

> Restart the workbench after you delete them.

> Hope that helps!
> Derek

I gave that a try then I got errors while debugging :(

!ENTRY org.eclipse.core.runtime 4 2 Jul 25, 2004 08:59:58.843
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.core.runtime".
!STACK 0
java.lang.NoSuchMethodError:
org.eclipse.jdt.internal.debug.core.model.JDIStackFrame.getL ocation()Lcom/sun/jdi/Location;
at
com.genuitec.eclipse.wdt.jsp.debug.JSPSourceLocator.getSourc eElements(Unknown
Source)
at
com.genuitec.eclipse.wdt.jsp.debug.JSPSourceLocator.getSourc eElement(Unknown
Source)
at
org.eclipse.debug.internal.ui.views.launch.LaunchView.lookup EditorInput(LaunchView.java:619)
at
org.eclipse.debug.internal.ui.views.launch.LaunchView.openEd itorForStackFrame(LaunchView.java:702)
at
org.eclipse.debug.internal.ui.views.launch.LaunchView.showEd itorForCurrentSelection(LaunchView.java:598)
at
org.eclipse.debug.internal.ui.views.launch.LaunchView.select ionChanged(LaunchView.java:474)
at
org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredV iewer.java:450)

!ENTRY org.eclipse.core.runtime 4 2 Jul 25, 2004 09:00:09.93
!MESSAGE An internal error occurred during: "JDI thread evaluations".
!STACK 0
java.lang.NoSuchMethodError:
org.eclipse.jdt.internal.debug.core.model.JDIStackFrame.getL ocation()Lcom/sun/jdi/Location;
at
com.genuitec.eclipse.wdt.jsp.debug.JSPSourceLocator.getSourc eElements(Unknown
Source)
at
com.genuitec.eclipse.wdt.jsp.debug.JSPSourceLocator.getSourc eElement(Unknown
Source)
at
org.eclipse.jdt.internal.debug.ui.JavaDetailFormattersManage r.getJavaProject(JavaDetailFormattersManager.java:189)
at
org.eclipse.jdt.internal.debug.ui.JavaDetailFormattersManage r.resolveFormatter(JavaDetailFormattersManager.java:150)
at
org.eclipse.jdt.internal.debug.ui.JavaDetailFormattersManage r.access$0(JavaDetailFormattersManager.java:145)
at
org.eclipse.jdt.internal.debug.ui.JavaDetailFormattersManage r$4.run(JavaDetailFormattersManager.java:133)
at
org.eclipse.jdt.internal.debug.core.model.JDIThread$ThreadJo b.run(JDIThread.java:2516)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)

-David
Re: Eclipse Debug Problems (3.0) [message #263684 is a reply to message #263683] Sun, 25 July 2004 15:11 Go to previous messageGo to next message
Derek Adams is currently offline Derek AdamsFriend
Messages: 28
Registered: July 2009
Junior Member
David wrote:

> Derek Adams wrote:

> > David wrote:

> > > Hi I am having problems using Eclipse's debugger.. everything was going
> > > great until all of the sudden anytime I debug now, on the variables view
> > > all I see is the current object (THIS) and then when I'm inside methods
it
> > > only shows the arguments passed in (ie arg0, arg1, arg2), it doesnt show
> > > any of local declarations at all. This has suddenlly occurred in both
> > > static and non static methods. I had this happen once before when I was
> > > tracking through some JDK classes it was doing the same thing... any
ideas?

> > > Just so you know what I'm using, its Eclipse 3.0 with MyEclipse 3.8
> > > Beta-2, debugging some classes running in a Tomcat 5 container that is
> > > attached through the remote debugger. OS is WinXP SP1, on JDK 1.4.2.

> > > Any help is greatly appreciated.
> > > -David

> > MyEclipse adds its own copy of the jdt.debug and debug.ui plugins (as well
> > as some others) which may not be compatible with the workbench. I normally
> > go to the MyEclipse install directory (c:Program
> > FilesMyEclipseeclipseplugins on Windows) and delete everything that
> > starts with org.eclipse..

> > Restart the workbench after you delete them.

> > Hope that helps!
> > Derek

> I gave that a try then I got errors while debugging :(

> !ENTRY org.eclipse.core.runtime 4 2 Jul 25, 2004 08:59:58.843
> !MESSAGE Problems occurred when invoking code from plug-in:
> "org.eclipse.core.runtime".
> !STACK 0
> java.lang.NoSuchMethodError:
>
org.eclipse.jdt.internal.debug.core.model.JDIStackFrame.getL ocation()Lcom/sun/jdi/Location;
> at
> com.genuitec.eclipse.wdt.jsp.debug.JSPSourceLocator.getSourc eElements(Unknown
> Source)
> at
> com.genuitec.eclipse.wdt.jsp.debug.JSPSourceLocator.getSourc eElement(Unknown
> Source)
> at
>
org.eclipse.debug.internal.ui.views.launch.LaunchView.lookup EditorInput(LaunchView.java:619)
> at
>
org.eclipse.debug.internal.ui.views.launch.LaunchView.openEd itorForStackFrame(LaunchView.java:702)
> at
>
org.eclipse.debug.internal.ui.views.launch.LaunchView.showEd itorForCurrentSelection(LaunchView.java:598)
> at
>
org.eclipse.debug.internal.ui.views.launch.LaunchView.select ionChanged(LaunchView.java:474)
> at
> org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredV iewer.java:450)

> !ENTRY org.eclipse.core.runtime 4 2 Jul 25, 2004 09:00:09.93
> !MESSAGE An internal error occurred during: "JDI thread evaluations".
> !STACK 0
> java.lang.NoSuchMethodError:
>
org.eclipse.jdt.internal.debug.core.model.JDIStackFrame.getL ocation()Lcom/sun/jdi/Location;
> at
> com.genuitec.eclipse.wdt.jsp.debug.JSPSourceLocator.getSourc eElements(Unknown
> Source)
> at
> com.genuitec.eclipse.wdt.jsp.debug.JSPSourceLocator.getSourc eElement(Unknown
> Source)
> at
>
org.eclipse.jdt.internal.debug.ui.JavaDetailFormattersManage r.getJavaProject(JavaDetailFormattersManager.java:189)
> at
>
org.eclipse.jdt.internal.debug.ui.JavaDetailFormattersManage r.resolveFormatter(JavaDetailFormattersManager.java:150)
> at
>
org.eclipse.jdt.internal.debug.ui.JavaDetailFormattersManage r.access$0(JavaDetailFormattersManager.java:145)
> at
>
org.eclipse.jdt.internal.debug.ui.JavaDetailFormattersManage r$4.run(JavaDetailFormattersManager.java:133)
> at
>
org.eclipse.jdt.internal.debug.core.model.JDIThread$ThreadJo b.run(JDIThread.java:2516)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)

> -David

I'm guessing that MyEclipse adds methods to the debugging plugins for the
JSR that supports JSP debugging. Unfortunately, there is no easy fix other
than getting the MyEclipse guys to create a patch. You may want to check
on their forums and see if there is a workaround.

Good luck!
Derek
Re: Eclipse Debug Problems (3.0) [message #263691 is a reply to message #263683] Sun, 25 July 2004 16:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: derickson.cmcflex.com

Ok I solved it, apparently one of my workspace crashes messed up all the
settings on the compiler page so it wasn't inserting the necessary things
for the debugger to work properly.. line numbers etc.
-David

David wrote:

> Derek Adams wrote:

> > David wrote:

> > > Hi I am having problems using Eclipse's debugger.. everything was going
> > > great until all of the sudden anytime I debug now, on the variables view
> > > all I see is the current object (THIS) and then when I'm inside methods
it
> > > only shows the arguments passed in (ie arg0, arg1, arg2), it doesnt show
> > > any of local declarations at all. This has suddenlly occurred in both
> > > static and non static methods. I had this happen once before when I was
> > > tracking through some JDK classes it was doing the same thing... any
ideas?

> > > Just so you know what I'm using, its Eclipse 3.0 with MyEclipse 3.8
> > > Beta-2, debugging some classes running in a Tomcat 5 container that is
> > > attached through the remote debugger. OS is WinXP SP1, on JDK 1.4.2.

> > > Any help is greatly appreciated.
> > > -David

> > MyEclipse adds its own copy of the jdt.debug and debug.ui plugins (as well
> > as some others) which may not be compatible with the workbench. I normally
> > go to the MyEclipse install directory (c:Program
> > FilesMyEclipseeclipseplugins on Windows) and delete everything that
> > starts with org.eclipse..

> > Restart the workbench after you delete them.

> > Hope that helps!
> > Derek

> I gave that a try then I got errors while debugging :(

> !ENTRY org.eclipse.core.runtime 4 2 Jul 25, 2004 08:59:58.843
> !MESSAGE Problems occurred when invoking code from plug-in:
> "org.eclipse.core.runtime".
> !STACK 0
> java.lang.NoSuchMethodError:
>
org.eclipse.jdt.internal.debug.core.model.JDIStackFrame.getL ocation()Lcom/sun/jdi/Location;
> at
> com.genuitec.eclipse.wdt.jsp.debug.JSPSourceLocator.getSourc eElements(Unknown
> Source)
> at
> com.genuitec.eclipse.wdt.jsp.debug.JSPSourceLocator.getSourc eElement(Unknown
> Source)
> at
>
org.eclipse.debug.internal.ui.views.launch.LaunchView.lookup EditorInput(LaunchView.java:619)
> at
>
org.eclipse.debug.internal.ui.views.launch.LaunchView.openEd itorForStackFrame(LaunchView.java:702)
> at
>
org.eclipse.debug.internal.ui.views.launch.LaunchView.showEd itorForCurrentSelection(LaunchView.java:598)
> at
>
org.eclipse.debug.internal.ui.views.launch.LaunchView.select ionChanged(LaunchView.java:474)
> at
> org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredV iewer.java:450)

> !ENTRY org.eclipse.core.runtime 4 2 Jul 25, 2004 09:00:09.93
> !MESSAGE An internal error occurred during: "JDI thread evaluations".
> !STACK 0
> java.lang.NoSuchMethodError:
>
org.eclipse.jdt.internal.debug.core.model.JDIStackFrame.getL ocation()Lcom/sun/jdi/Location;
> at
> com.genuitec.eclipse.wdt.jsp.debug.JSPSourceLocator.getSourc eElements(Unknown
> Source)
> at
> com.genuitec.eclipse.wdt.jsp.debug.JSPSourceLocator.getSourc eElement(Unknown
> Source)
> at
>
org.eclipse.jdt.internal.debug.ui.JavaDetailFormattersManage r.getJavaProject(JavaDetailFormattersManager.java:189)
> at
>
org.eclipse.jdt.internal.debug.ui.JavaDetailFormattersManage r.resolveFormatter(JavaDetailFormattersManager.java:150)
> at
>
org.eclipse.jdt.internal.debug.ui.JavaDetailFormattersManage r.access$0(JavaDetailFormattersManager.java:145)
> at
>
org.eclipse.jdt.internal.debug.ui.JavaDetailFormattersManage r$4.run(JavaDetailFormattersManager.java:133)
> at
>
org.eclipse.jdt.internal.debug.core.model.JDIThread$ThreadJo b.run(JDIThread.java:2516)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)

> -David
Re: Eclipse Debug Problems (3.0) [message #263844 is a reply to message #263683] Mon, 26 July 2004 22:00 Go to previous message
Derek Adams is currently offline Derek AdamsFriend
Messages: 28
Registered: July 2009
Junior Member
David wrote:

> Derek Adams wrote:

> > David wrote:

> > > Hi I am having problems using Eclipse's debugger.. everything was going
> > > great until all of the sudden anytime I debug now, on the variables view
> > > all I see is the current object (THIS) and then when I'm inside methods
it
> > > only shows the arguments passed in (ie arg0, arg1, arg2), it doesnt show
> > > any of local declarations at all. This has suddenlly occurred in both
> > > static and non static methods. I had this happen once before when I was
> > > tracking through some JDK classes it was doing the same thing... any
ideas?

> > > Just so you know what I'm using, its Eclipse 3.0 with MyEclipse 3.8
> > > Beta-2, debugging some classes running in a Tomcat 5 container that is
> > > attached through the remote debugger. OS is WinXP SP1, on JDK 1.4.2.

> > > Any help is greatly appreciated.
> > > -David

> > MyEclipse adds its own copy of the jdt.debug and debug.ui plugins (as well
> > as some others) which may not be compatible with the workbench. I normally
> > go to the MyEclipse install directory (c:Program
> > FilesMyEclipseeclipseplugins on Windows) and delete everything that
> > starts with org.eclipse..

> > Restart the workbench after you delete them.

> > Hope that helps!
> > Derek

> I gave that a try then I got errors while debugging :(

> !ENTRY org.eclipse.core.runtime 4 2 Jul 25, 2004 08:59:58.843
> !MESSAGE Problems occurred when invoking code from plug-in:
> "org.eclipse.core.runtime".
> !STACK 0
> java.lang.NoSuchMethodError:
>
org.eclipse.jdt.internal.debug.core.model.JDIStackFrame.getL ocation()Lcom/sun/jdi/Location;
> at
> com.genuitec.eclipse.wdt.jsp.debug.JSPSourceLocator.getSourc eElements(Unknown
> Source)
> at
> com.genuitec.eclipse.wdt.jsp.debug.JSPSourceLocator.getSourc eElement(Unknown
> Source)
> at
>
org.eclipse.debug.internal.ui.views.launch.LaunchView.lookup EditorInput(LaunchView.java:619)
> at
>
org.eclipse.debug.internal.ui.views.launch.LaunchView.openEd itorForStackFrame(LaunchView.java:702)
> at
>
org.eclipse.debug.internal.ui.views.launch.LaunchView.showEd itorForCurrentSelection(LaunchView.java:598)
> at
>
org.eclipse.debug.internal.ui.views.launch.LaunchView.select ionChanged(LaunchView.java:474)
> at
> org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredV iewer.java:450)

> !ENTRY org.eclipse.core.runtime 4 2 Jul 25, 2004 09:00:09.93
> !MESSAGE An internal error occurred during: "JDI thread evaluations".
> !STACK 0
> java.lang.NoSuchMethodError:
>
org.eclipse.jdt.internal.debug.core.model.JDIStackFrame.getL ocation()Lcom/sun/jdi/Location;
> at
> com.genuitec.eclipse.wdt.jsp.debug.JSPSourceLocator.getSourc eElements(Unknown
> Source)
> at
> com.genuitec.eclipse.wdt.jsp.debug.JSPSourceLocator.getSourc eElement(Unknown
> Source)
> at
>
org.eclipse.jdt.internal.debug.ui.JavaDetailFormattersManage r.getJavaProject(JavaDetailFormattersManager.java:189)
> at
>
org.eclipse.jdt.internal.debug.ui.JavaDetailFormattersManage r.resolveFormatter(JavaDetailFormattersManager.java:150)
> at
>
org.eclipse.jdt.internal.debug.ui.JavaDetailFormattersManage r.access$0(JavaDetailFormattersManager.java:145)
> at
>
org.eclipse.jdt.internal.debug.ui.JavaDetailFormattersManage r$4.run(JavaDetailFormattersManager.java:133)
> at
>
org.eclipse.jdt.internal.debug.core.model.JDIThread$ThreadJo b.run(JDIThread.java:2516)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)

> -David

Ok. Bug report 70863 has been filed on the issue.
Previous Topic:Automated PDE build fails to build fragment/plugin combo
Next Topic:Detection of Eclipse installation
Goto Forum:
  


Current Time: Wed Feb 05 13:55:59 GMT 2025

Powered by FUDForum. Page generated in 0.03079 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top