Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Can't see source using remote debugger
Can't see source using remote debugger [message #9958] Wed, 30 April 2003 19:05 Go to next message
Eclipse UserFriend
Originally posted by: jake_kugel.yahoo.com

I'm using Eclipse 2.0, and connecting the debugger to a remote JVM. I
recently moved from Win 2000 to Win XP. I copied my workspace,
reinstalled Eclipse, and tried to use the remote debugger again. The
debugger seems to attach ok, and it will stop when breakpoints are hit,
but the source where the breakpoint is at doesn't get displayed. In the
metadata/.log file, I see this exception when attaching to the remote JVM
(see end of the note). The remote JVM is IBM JRE 1.4, but it had worked
before on Win 2000. Has anyone seen anything like this?

Thanks,
Jake

!SESSION Apr 30, 2003 11:34:14.136
---------------------------------------------
java.fullversion=J2RE 1.3.1 IBM Windows 32 build cn131-20020710 (JIT
enabled: jitc)
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -data C:\WSWB
-install file:C:/Program Files/IBM/CSA/VisualBuilder/eclipse/
!ENTRY org.eclipse.ui 4 4 Apr 30, 2003 11:34:14.136
!MESSAGE Unhandled exception caught in event loop.
!ENTRY org.eclipse.ui 4 0 Apr 30, 2003 11:34:14.136
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at
org.eclipse.jdt.launching.sourcelookup.JavaSourceLocator.get SourceLocations(JavaSourceLocator.java:366)
at
org.eclipse.jdt.launching.sourcelookup.JavaSourceLocator.ini tializeDefaults(JavaSourceLocator.java:284)
at
org.eclipse.jdt.debug.ui.JavaUISourceLocator.initializeDefau lts(JavaUISourceLocator.java:248)
at
org.eclipse.debug.internal.core.LaunchConfiguration.initiali zeSourceLocator(LaunchConfiguration.java:165)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:147)
at
org.eclipse.debug.internal.ui.actions.RelaunchActionDelegate .relaunch(RelaunchActionDelegate.java:56)
at
org.eclipse.debug.internal.ui.actions.RelaunchActionDelegate .relaunch(RelaunchActionDelegate.java:32)
at
org.eclipse.debug.internal.ui.actions.RelaunchHistoryLaunchA ction$1.run(RelaunchHistoryLaunchAction.java:59)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:66)
at
org.eclipse.debug.internal.ui.actions.RelaunchHistoryLaunchA ction.run(RelaunchHistoryLaunchAction.java:57)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:749 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:407)
at
org.eclipse.jface.action.ActionContributionItem$ActionListen er.handleEvent(ActionContributionItem.java(Compiled
Code))
at
org.eclipse.jface.action.ActionContributionItem$ActionListen er.handleEvent(ActionContributionItem.java(Compiled
Code))
at
org.eclipse.jface.action.ActionContributionItem$ActionListen er.handleEvent(ActionContributionItem.java(Compiled
Code))
at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va(Compiled
Code))
at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va(Compiled
Code))
at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va(Compiled
Code))
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java (Compiled
Code))
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a(Compiled
Code))
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1239)
at
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.java:775)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
at java.lang.reflect.Method.invoke(Native Method)
at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
at org.eclipse.core.launcher.Main.run(Main.java:703)
at org.eclipse.core.launcher.Main.main(Main.java:539)
Re: Can't see source using remote debugger [message #10007 is a reply to message #9958] Wed, 30 April 2003 19:18 Go to previous messageGo to next message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
Looks like https://bugs.eclipse.org/bugs/show_bug.cgi?id=26648
Please read the details in the bug report to be sure.
This is fixed in 2.1

HTH
Darins

"Jake Kugel" <jake_kugel@yahoo.com> wrote in message
news:b8p6q5$ilu$1@rogue.oti.com...
> I'm using Eclipse 2.0, and connecting the debugger to a remote JVM. I
> recently moved from Win 2000 to Win XP. I copied my workspace,
> reinstalled Eclipse, and tried to use the remote debugger again. The
> debugger seems to attach ok, and it will stop when breakpoints are hit,
> but the source where the breakpoint is at doesn't get displayed. In the
> metadata/.log file, I see this exception when attaching to the remote JVM
> (see end of the note). The remote JVM is IBM JRE 1.4, but it had worked
> before on Win 2000. Has anyone seen anything like this?
>
> Thanks,
> Jake
>
> !SESSION Apr 30, 2003 11:34:14.136
> ---------------------------------------------
> java.fullversion=J2RE 1.3.1 IBM Windows 32 build cn131-20020710 (JIT
> enabled: jitc)
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Command-line arguments: -os win32 -ws win32 -arch x86 -data C:\WSWB
> -install file:C:/Program Files/IBM/CSA/VisualBuilder/eclipse/
> !ENTRY org.eclipse.ui 4 4 Apr 30, 2003 11:34:14.136
> !MESSAGE Unhandled exception caught in event loop.
> !ENTRY org.eclipse.ui 4 0 Apr 30, 2003 11:34:14.136
> !MESSAGE java.lang.NullPointerException
> !STACK 0
> java.lang.NullPointerException
> at
>
org.eclipse.jdt.launching.sourcelookup.JavaSourceLocator.get SourceLocations(
JavaSourceLocator.java:366)
> at
>
org.eclipse.jdt.launching.sourcelookup.JavaSourceLocator.ini tializeDefaults(
JavaSourceLocator.java:284)
> at
>
org.eclipse.jdt.debug.ui.JavaUISourceLocator.initializeDefau lts(JavaUISource
Locator.java:248)
> at
>
org.eclipse.debug.internal.core.LaunchConfiguration.initiali zeSourceLocator(
LaunchConfiguration.java:165)
> at
>
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfigurati
on.java:147)
> at
>
org.eclipse.debug.internal.ui.actions.RelaunchActionDelegate .relaunch(Relaun
chActionDelegate.java:56)
> at
>
org.eclipse.debug.internal.ui.actions.RelaunchActionDelegate .relaunch(Relaun
chActionDelegate.java:32)
> at
>
org.eclipse.debug.internal.ui.actions.RelaunchHistoryLaunchA ction$1.run(Rela
unchHistoryLaunchAction.java:59)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:66)
> at
>
org.eclipse.debug.internal.ui.actions.RelaunchHistoryLaunchA ction.run(Relaun
chHistoryLaunchAction.java:57)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:749 )
> at
>
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(Action
ContributionItem.java:407)
> at
>
org.eclipse.jface.action.ActionContributionItem$ActionListen er.handleEvent(A
ctionContributionItem.java(Compiled
> Code))
> at
>
org.eclipse.jface.action.ActionContributionItem$ActionListen er.handleEvent(A
ctionContributionItem.java(Compiled
> Code))
> at
>
org.eclipse.jface.action.ActionContributionItem$ActionListen er.handleEvent(A
ctionContributionItem.java(Compiled
> Code))
> at
> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va(Compiled
> Code))
> at
> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va(Compiled
> Code))
> at
> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va(Compiled
> Code))
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java (Compiled
> Code))
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a(Compiled
> Code))
> at org.eclipse.ui.internal.Workbench.run(Workbench.java:1239)
> at
>
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
a:775)
> at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
> at java.lang.reflect.Method.invoke(Native Method)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
> at org.eclipse.core.launcher.Main.run(Main.java:703)
> at org.eclipse.core.launcher.Main.main(Main.java:539)
>
>
Re: Can't see source using remote debugger [message #10849 is a reply to message #10007] Thu, 01 May 2003 01:23 Go to previous message
Eclipse UserFriend
Originally posted by: jake_kugel.yahoo.com

That was the problem. I had unchecked the 'Use default classpath' checkbox
in the launch configuration and the classpath didn't match what was in the
project. Thanks,

Jake

Darin Swanson wrote:

> Looks like https://bugs.eclipse.org/bugs/show_bug.cgi?id=26648
> Please read the details in the bug report to be sure.
> This is fixed in 2.1

> HTH
> Darins

> "Jake Kugel" <jake_kugel@yahoo.com> wrote in message
> news:b8p6q5$ilu$1@rogue.oti.com...
> > I'm using Eclipse 2.0, and connecting the debugger to a remote JVM. I
> > recently moved from Win 2000 to Win XP. I copied my workspace,
> > reinstalled Eclipse, and tried to use the remote debugger again. The
> > debugger seems to attach ok, and it will stop when breakpoints are hit,
> > but the source where the breakpoint is at doesn't get displayed. In the
> > metadata/.log file, I see this exception when attaching to the remote JVM
> > (see end of the note). The remote JVM is IBM JRE 1.4, but it had worked
> > before on Win 2000. Has anyone seen anything like this?
> >
> > Thanks,
> > Jake
> >
> > !SESSION Apr 30, 2003 11:34:14.136
> > ---------------------------------------------
> > java.fullversion=J2RE 1.3.1 IBM Windows 32 build cn131-20020710 (JIT
> > enabled: jitc)
> > BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> > Command-line arguments: -os win32 -ws win32 -arch x86 -data C:\WSWB
> > -install file:C:/Program Files/IBM/CSA/VisualBuilder/eclipse/
> > !ENTRY org.eclipse.ui 4 4 Apr 30, 2003 11:34:14.136
> > !MESSAGE Unhandled exception caught in event loop.
> > !ENTRY org.eclipse.ui 4 0 Apr 30, 2003 11:34:14.136
> > !MESSAGE java.lang.NullPointerException
> > !STACK 0
> > java.lang.NullPointerException
> > at
> >
> org.eclipse.jdt.launching.sourcelookup.JavaSourceLocator.get SourceLocations(
> JavaSourceLocator.java:366)
> > at
> >
> org.eclipse.jdt.launching.sourcelookup.JavaSourceLocator.ini tializeDefaults(
> JavaSourceLocator.java:284)
> > at
> >
> org.eclipse.jdt.debug.ui.JavaUISourceLocator.initializeDefau lts(JavaUISource
> Locator.java:248)
> > at
> >
> org.eclipse.debug.internal.core.LaunchConfiguration.initiali zeSourceLocator(
> LaunchConfiguration.java:165)
> > at
> >
> org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfigurati
> on.java:147)
> > at
> >
> org.eclipse.debug.internal.ui.actions.RelaunchActionDelegate .relaunch(Relaun
> chActionDelegate.java:56)
> > at
> >
> org.eclipse.debug.internal.ui.actions.RelaunchActionDelegate .relaunch(Relaun
> chActionDelegate.java:32)
> > at
> >
> org.eclipse.debug.internal.ui.actions.RelaunchHistoryLaunchA ction$1.run(Rela
> unchHistoryLaunchAction.java:59)
> > at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:66)
> > at
> >
> org.eclipse.debug.internal.ui.actions.RelaunchHistoryLaunchA ction.run(Relaun
> chHistoryLaunchAction.java:57)
> > at org.eclipse.jface.action.Action.runWithEvent(Action.java:749 )
> > at
> >
> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(Action
> ContributionItem.java:407)
> > at
> >
> org.eclipse.jface.action.ActionContributionItem$ActionListen er.handleEvent(A
> ctionContributionItem.java(Compiled
> > Code))
> > at
> >
> org.eclipse.jface.action.ActionContributionItem$ActionListen er.handleEvent(A
> ctionContributionItem.java(Compiled
> > Code))
> > at
> >
> org.eclipse.jface.action.ActionContributionItem$ActionListen er.handleEvent(A
> ctionContributionItem.java(Compiled
> > Code))
> > at
> > org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va(Compiled
> > Code))
> > at
> > org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va(Compiled
> > Code))
> > at
> > org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va(Compiled
> > Code))
> > at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java (Compiled
> > Code))
> > at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a(Compiled
> > Code))
> > at org.eclipse.ui.internal.Workbench.run(Workbench.java:1239)
> > at
> >
> org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
> a:775)
> > at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
> > at java.lang.reflect.Method.invoke(Native Method)
> > at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
> > at org.eclipse.core.launcher.Main.run(Main.java:703)
> > at org.eclipse.core.launcher.Main.main(Main.java:539)
> >
> >
Previous Topic:Rename refactoring incomplete in 2.1 compared to 2.0.x
Next Topic:The JAD decompiler as a eclipse jdt plug in
Goto Forum:
  


Current Time: Sat Jul 27 12:49:11 GMT 2024

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

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

Back to the top