Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Re: Eclipse debugger not working -
Re: Eclipse debugger not working - [message #242658] Wed, 19 May 2004 21:03 Go to next message
Eclipse UserFriend
Originally posted by: steve_mew.hotmail.com

I have been fighting with Eclipse for over a week trying to get it to work
I am glad I am not the only one experiencing this. I have ;

Brand new spanking cleanly installed machine !
Windows 2000 Adv Svr
J2EE 1.4 SDK
Eclipse 2.1.3
OfBiz 3.0 source code

I am working on OfBiz 3.0, I can get it to "run -> run" within Eclipse.
Can I get it to "run -> debug" ? Not a chance, its cost me a week so far.
Sounds like a Win2K / Eclipse Integration problem to me

are there any environment variables which are missing ?

I came across your thread and tried your suggestion and it worked !!!!!!!

I expect a load of people are experiencing this same problem
Many Thanks to Mike and Mike ! You guys Rock !
------------------------------------------------------------ ----------


Darin,

Mike Bangham has mailed me a solution which worked:

>Try using a shortcut to eclipse as follows:
>
>C:\eclipse\eclipse.exe -data c:\myworkspace -vm
>c:\j2sdk1.4.2_01\jre\bin\javaw
>
>This will put your project files in c:\myworkspace (create that directory
>first). This seems to work best for me, I didn't have much luck with the
>default project directory.

Don't know why this fixed it - perhaps something to with recreating the
workspace after the initial install. Mike said he had a similar problem,
so it's not just me ;). Maybe it's something fairly specific to do with
system setup that causes it. FYI I'm running Win2k, and the directory I
specified with the -data switch was on a different logical drive to
Eclipse.

Thanks Mike!

Leo

Darin Wright wrote:

> We are confident that debugging works :-) Have you tried a simple "hello
> world" program to ensure things are not working? You should ensure that a
> "debug view" is open in the debug perspective, and that the launch
actually
> appears in the view, in debug mode. Other than that, we need more specific
> steps to reproduce the problem, since debugging is definetly working at
this
> end.

> Darin

> "Leo" <leo@raceoddity.net> wrote in message
bt7h6d$kj$1@eclipse.org">news:bt7h6d$kj$1@eclipse.org...
> > Hi all,
> >
> > I'm an eclipse and Java newbie coming from a C++ background and I'm
pretty
> > impressed with Eclipse so far, but I'm having trouble getting the
debugger
> > to work. My 'Run' command works fine, but hitting Debug for the
> > appropriate project connects a console on a port but then just sits
there
> > - breakpoints don't work, and the app doesn't start up. Can someone
> > suggest what I'm doing wrong? Do I need to pass a switch into the
compiler
> > to enable debug info? I'd have thought eclipse would do that by default.
I
> > can start multiple debug session consoles, none of which do anything.
The
> > log file appears not to be affected, indicating no actual error has
> > occurred.
> >
> > I'm using Eclipse 2.1.2 and j21.4.2
> >
> > Thanks
> >
> > Leo
> >
Re: Eclipse debugger not working - [message #242724 is a reply to message #242658] Thu, 20 May 2004 06:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: use.reply.to.invalid

steve wrote:
> I have been fighting with Eclipse for over a week trying to get it to work
> I am glad I am not the only one experiencing this. I have ;
>
> Brand new spanking cleanly installed machine !
> Windows 2000 Adv Svr
> J2EE 1.4 SDK
> Eclipse 2.1.3
> OfBiz 3.0 source code
>
> I am working on OfBiz 3.0, I can get it to "run -> run" within Eclipse.
> Can I get it to "run -> debug" ? Not a chance, its cost me a week so far.
> Sounds like a Win2K / Eclipse Integration problem to me

Try creating a new project, and create a tiny test program in it (Hello
World will be fine), and see if you can start the debugger on that.

If not, try to see if your runtime Java environment is what you expect.
I have seen softwarepackages which came with their own, older, java
version.
--
Thorbjoern Ravn Andersen "...plus...Tubular Bells!"
Re: Eclipse debugger not working - [message #243255 is a reply to message #242724] Fri, 21 May 2004 17:28 Go to previous message
Eclipse UserFriend
Originally posted by: steve_mew.hotmail.com

Yes, I think that could be it, the workspace files are out of date in the
original project.
Thank for the tip


"Thorbj
Previous Topic:setting the background color of eclipse
Next Topic:About Plugin features
Goto Forum:
  


Current Time: Thu Jan 02 15:54:54 GMT 2025

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

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

Back to the top