Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Debugger not working
Debugger not working [message #157281] Wed, 05 May 2004 07:09 Go to next message
Eclipse UserFriend
Originally posted by: pmwood.hotmail.com

Hi,

I'm new to eclipse and am having a problem with the debugger on one of the
two machines I have installed on. I ran the same install packages on two
machines (j2sdk1.4.2_04 and eclipseSDK3.0M7). On the first machine
everything works well and I am very impressed.

On the second machine the debugging does not work. If I run code with
println statements but no breakpoints the println statements indicate it is
running through. If I put in a breakpoint the println statements indicate
that the code has stopped at the breakpoint, but nothing in the debugger is
enabled - resume, step into etc are all disabled. It's as if the program
has stopped at the breakpoint but the IDE is not getting the feedback from
the underlying process being debugged.

The key may be that at the end of the j2sdk install I got an error "Could
not retrieve version info" before the install completed, and I had to add
the jdk and jre paths to the environment path manually to get things to
work. (I did uninstall both packages, reboot and re-install at this point,
with the same results).

So - I realise this is probably a jdk/machine issue rather than eclipse, but
can anyone give me any pointers? What does the debugger depend on to attach
to the process being debugged? Since a re-install doesn't help I need to
fix it manually, if possible.

Any suggestions gratefully received
Peter
Re: Debugger not working: Fixed [message #157424 is a reply to message #157281] Thu, 06 May 2004 06:46 Go to previous message
Eclipse UserFriend
Originally posted by: pmwood.hotmail.com

OK, fixed.

I added <j2sdk>\lib and <j2sdk>\jre\lib to the classpath.


"Peter Wood" <pmwood@hotmail.com> wrote in message
news:c7a3k3$685$1@eclipse.org...
> Hi,
>
> I'm new to eclipse and am having a problem with the debugger on one of the
> two machines I have installed on. I ran the same install packages on two
> machines (j2sdk1.4.2_04 and eclipseSDK3.0M7). On the first machine
> everything works well and I am very impressed.
>
> On the second machine the debugging does not work. If I run code with
> println statements but no breakpoints the println statements indicate it
is
> running through. If I put in a breakpoint the println statements indicate
> that the code has stopped at the breakpoint, but nothing in the debugger
is
> enabled - resume, step into etc are all disabled. It's as if the program
> has stopped at the breakpoint but the IDE is not getting the feedback from
> the underlying process being debugged.
>
> The key may be that at the end of the j2sdk install I got an error "Could
> not retrieve version info" before the install completed, and I had to add
> the jdk and jre paths to the environment path manually to get things to
> work. (I did uninstall both packages, reboot and re-install at this point,
> with the same results).
>
> So - I realise this is probably a jdk/machine issue rather than eclipse,
but
> can anyone give me any pointers? What does the debugger depend on to
attach
> to the process being debugged? Since a re-install doesn't help I need to
> fix it manually, if possible.
>
> Any suggestions gratefully received
> Peter
>
>
Previous Topic:Need help connecting the dots from IDocument to ASTNode
Next Topic:Sysdeo Eclipse Preferences Now Broken?
Goto Forum:
  


Current Time: Sun Sep 01 09:24:53 GMT 2024

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

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

Back to the top