Skip to main content



      Home
Home » Newcomers » Newcomers » debugging has become a pain in eclipse
debugging has become a pain in eclipse [message #139961] Fri, 24 February 2006 06:30 Go to next message
Eclipse UserFriend
hello all,

recently eclipse has started to behave a little strangely. when i launch
my application from within eclipse in debug mode, my application goes
extremely slow, eating all the processing power(100% activity in task
mgr!). but when i launch it normally from within eclipse, my app runs
smoothly.

can any1 plzzz help me out on this. my bo$$ is asking me to leave this
tool alone and start using jbuilder 2005 as he has a spare license. but i
prefer eclipse, and if this issue isnt resolved i'd have to cave in.
Re: debugging has become a pain in eclipse [message #139998 is a reply to message #139961] Fri, 24 February 2006 07:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hendrik_maryns.despammed.com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message

Haris schreef:
> hello all,
>
> recently eclipse has started to behave a little strangely. when i launch
> my application from within eclipse in debug mode, my application goes
> extremely slow, eating all the processing power(100% activity in task
> mgr!). but when i launch it normally from within eclipse, my app runs
> smoothly.
>
> can any1 plzzz help me out on this. my bo$$ is asking me to leave this
> tool alone and start using jbuilder 2005 as he has a spare license. but
> i prefer eclipse, and if this issue isnt resolved i'd have to cave in.

Not without some code. Why would you have to cave in, Eclipse is free
anyway, no license needed whatsoever.

H.

--
Hendrik Maryns

==================
www.lieverleven.be
http://aouw.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFD/vpje+7xMGD3itQRAqLbAJ4uEsepBNq7HSKKoU2Fa7KnYSbZMwCe N/TM
eTcBGRN1JyjImW3tD18dFT8=
=YdQf
-----END PGP SIGNATURE-----
Re: debugging has become a pain in eclipse [message #140018 is a reply to message #139998] Fri, 24 February 2006 07:39 Go to previous messageGo to next message
Eclipse UserFriend
this doesn't solve my problem. i tested my app with netbeans. it debugs
better than eclipse. i still would love to keep using eclipse as i really
do feel comfortable with it.
Re: debugging has become a pain in eclipse [message #140046 is a reply to message #139961] Fri, 24 February 2006 09:46 Go to previous messageGo to next message
Eclipse UserFriend
Haris wrote:
> hello all,
>
> recently eclipse has started to behave a little strangely. when i launch
> my application from within eclipse in debug mode, my application goes
> extremely slow, eating all the processing power(100% activity in task
> mgr!). but when i launch it normally from within eclipse, my app runs
> smoothly.
>
> can any1 plzzz help me out on this. my bo$$ is asking me to leave this
> tool alone and start using jbuilder 2005 as he has a spare license. but
> i prefer eclipse, and if this issue isnt resolved i'd have to cave in.
>
>

We'd need more information to help you diagnose your problem. What
version of Eclipse are you using? What VM are you using? What platform
are you running on? Do you have sample code that demonstrates the problem?
Have you searched bugzilla? Other may have had and resolved similar issues.

HTH Kevin
Re: debugging has become a pain in eclipse [message #140089 is a reply to message #140046] Fri, 24 February 2006 11:20 Go to previous messageGo to next message
Eclipse UserFriend
kevin,
im using eclipse 3.1.2 with jdk1.5.0_06 on windows platform. i've also got
a snapshot of mustang with me and i tried launching my app with tht
jre(mustang snapshot 9 i think). but the prob remained the same. my
machine is a 2 ghz intel centrino/512 ram running winxp pro.

i cant give sample code for several reasons. firstly, its not a piece of
code i can point to that could be causing the problem. secondly, my boss
wouldn't like me giving away some/part of the code^_^.

here's the scenario. i launch eclipse. open my project(usually already
opened). then i debug my application, which launches the application just
fine. when i'm working with my application, such as selecting a menu,
clicking a menu item, etc. the application eats up all of my processor.
task mgr shows 100% cpu being used by javaw.exe. and sadly, when i shut
down eclipse(by killing its process) my application suddenly starts
behaving normal,i.e becomes responsive.
interestingly this didn't use to happen a few days ago. i wonder what is
causing this. i'm not using any firewall on my machine.

any thoughts?? have done a lot of googling around but no answers so far.
can you or any of the gurus out here help?


thanks.
Re: debugging has become a pain in eclipse [message #140828 is a reply to message #140089] Tue, 28 February 2006 12:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: daniel.megert.eclipse.org

Haris wrote:

> kevin,
> im using eclipse 3.1.2 with jdk1.5.0_06 on windows platform. i've also
> got a snapshot of mustang with me and i tried launching my app with
> tht jre(mustang snapshot 9 i think). but the prob remained the same.
> my machine is a 2 ghz intel centrino/512 ram running winxp pro.
>
> i cant give sample code for several reasons. firstly, its not a piece
> of code i can point to that could be causing the problem. secondly, my
> boss wouldn't like me giving away some/part of the code^_^.
>
> here's the scenario. i launch eclipse. open my project(usually already
> opened). then i debug my application, which launches the application
> just fine. when i'm working with my application, such as selecting a
> menu, clicking a menu item, etc. the application eats up all of my
> processor. task mgr shows 100% cpu being used by javaw.exe. and sadly,
> when i shut down eclipse(by killing its process) my application
> suddenly starts behaving normal,i.e becomes responsive.
> interestingly this didn't use to happen a few days ago. i wonder what
> is causing this. i'm not using any firewall on my machine.

Maybe virus scanner? I suggest to create a bug report and attach stack
dumps that you create during the 100% CPU phase.

Dani

>
> any thoughts?? have done a lot of googling around but no answers so
> far. can you or any of the gurus out here help?
>
>
> thanks.
>
Re: debugging has become a pain in eclipse [message #140867 is a reply to message #140089] Tue, 28 February 2006 13:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wojtek.a.com

Haris wrote:
> kevin,
> interestingly this didn't use to happen a few days ago. i wonder what is
> causing this.

Is your workspace on your local machine, or is it on a networked machine?

I DID have it on a networked machine (file server, backup every night),
but then the networking crew decided to move the conections around and
my network path to the server went from one hop to three hops.

Everything in Ecplise slowed down.

And they could not realize that my "save takes several seconds now" was
a probelm. "So What?" they said. "So it takes a few seconds to save a
document".

Now everything is on my local machine, and I do a manual backup....
Re: debugging has become a pain in eclipse [message #141094 is a reply to message #140089] Wed, 01 March 2006 22:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: matthew.laurenson.practiv.com

Haris

I was observing similar behaviour to yours with remote debugging, but seem
to have sorted it just now. The problem for me was the "Source Lookup
Path" in Eclipse on the Source tab under Run Debug...
By default the source path contained a large list of jar files, most of
which didn't have any source anyway. I removed the "Default" entry, and
added in just my project source folder. This made an incredible difference
to the speed of execution (something that took 30 minutes now takes 10
seconds).

I had tried turning off hyperthreading...

Good luck with sorting out your problem.

Regards
Mattthew
Re: debugging has become a pain in eclipse [message #143078 is a reply to message #141094] Tue, 14 March 2006 16:16 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse.vanderberg.fastmail.fm

I too have been suffering this issue intermittently during debugging. I
tried the suggestion below, and it did not seem to help. I did however
find that removing all my breakpoints and starting over with just the few
breakpoints I needed dramatically improved debugging speed.

Matthew Laurenson wrote:

> Haris

> I was observing similar behaviour to yours with remote debugging, but seem
> to have sorted it just now. The problem for me was the "Source Lookup
> Path" in Eclipse on the Source tab under Run Debug...
> By default the source path contained a large list of jar files, most of
> which didn't have any source anyway. I removed the "Default" entry, and
> added in just my project source folder. This made an incredible difference
> to the speed of execution (something that took 30 minutes now takes 10
> seconds).

> I had tried turning off hyperthreading...

> Good luck with sorting out your problem.

> Regards
> Mattthew
Previous Topic:java.lang.IllegalStateException: Workspace is closed.
Next Topic:Eclipse 3.1.0 editor problem...
Goto Forum:
  


Current Time: Wed May 28 23:22:55 EDT 2025

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

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

Back to the top