Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Debugger very very slow.
Debugger very very slow. [message #323626] Fri, 04 January 2008 10:22 Go to next message
Eclipse UserFriend
Good morning,

We have a problem that just cropped up with one of our developers where for
no known reason his debugger has become extremely slow.

I am informed that he did not change any configuration options that would
affect either the Eclipse environment or the application, it just started to
behave slow.

Anyone had this happen or any ideas on how to track down what is causing
this?

Thanks in advance.

Whatty

=============

Eclipse 3.3.1.1
WTP 2.0.1
JDK 1.5
Re: Debugger very very slow. [message #323634 is a reply to message #323626] Fri, 04 January 2008 11:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Steve Whatmore wrote:
> Good morning,
>
> We have a problem that just cropped up with one of our developers where for
> no known reason his debugger has become extremely slow.
>
> I am informed that he did not change any configuration options that would
> affect either the Eclipse environment or the application, it just started to
> behave slow.
>
> Anyone had this happen or any ideas on how to track down what is causing
> this?

Is the application being debugged local (on the same machine as Eclipse)
or remote? If remote, the possible culprits include network issues.
One other note: whenever a user tells me "I didn't change anything" the
first thing I usually check is if they changed anything. ;-)
I can't count how many times people have said that in these newsgroups
only to later discover they did in fact change something.

Hope this helps,
Eric
Re: Debugger very very slow. [message #323640 is a reply to message #323634] Fri, 04 January 2008 11:41 Go to previous messageGo to next message
Eclipse UserFriend
We have taken a serious look at his configuration and we do believe that
nothing has changed. This is further verified by the fact that he
experienced the problem from one invocation of the debugger to the next
invocation of the debugger without shutting down eclipse or going into the
preferences in any way (not exactly scientific but the a good indication
nonetheless).

The application is local and debugging is local although we do have a
connection (pooled) to a DB resource on a network machine (although none of
the other team members are having problems with the DB connection so we
don't think this is it either)

Any further ideas...

Thanks in advance.

Whatty

"Eric Rizzo" <eclipse-news@rizzoweb.com> wrote in message
news:flllol$2tv$1@build.eclipse.org...
> Steve Whatmore wrote:
>> Good morning,
>>
>> We have a problem that just cropped up with one of our developers where
>> for no known reason his debugger has become extremely slow.
>>
>> I am informed that he did not change any configuration options that would
>> affect either the Eclipse environment or the application, it just started
>> to behave slow.
>>
>> Anyone had this happen or any ideas on how to track down what is causing
>> this?
>
> Is the application being debugged local (on the same machine as Eclipse)
> or remote? If remote, the possible culprits include network issues.
> One other note: whenever a user tells me "I didn't change anything" the
> first thing I usually check is if they changed anything. ;-)
> I can't count how many times people have said that in these newsgroups
> only to later discover they did in fact change something.
>
> Hope this helps,
> Eric
Re: Debugger very very slow. [message #323648 is a reply to message #323640] Fri, 04 January 2008 13:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Steve Whatmore wrote:
> We have taken a serious look at his configuration and we do believe that
> nothing has changed. This is further verified by the fact that he
> experienced the problem from one invocation of the debugger to the next
> invocation of the debugger without shutting down eclipse or going into the
> preferences in any way (not exactly scientific but the a good indication
> nonetheless).
>
> The application is local and debugging is local although we do have a
> connection (pooled) to a DB resource on a network machine (although none of
> the other team members are having problems with the DB connection so we
> don't think this is it either)
>

Hmm...looks like you've done all the obvious easy things. Only idea I
have left is to capture a thread dump (of Eclipse itself, not the
application being debugged) at a time when you see the pauses and see if
that reveals any possible culprits.
Here's a wiki page with instructions to get a thread dump of Eclipse:
http://wiki.eclipse.org/index.php/How_to_report_a_deadlock

Hope this helps,
Eric
Re: Debugger very very slow. [message #323651 is a reply to message #323626] Fri, 04 January 2008 13:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wharley.bea.com

"Steve Whatmore" <steven.whatmore@lynxdev.com> wrote in message
news:flliv6$fpj$1@build.eclipse.org...
> Good morning,
>
> We have a problem that just cropped up with one of our developers where
> for no known reason his debugger has become extremely slow.
>
> I am informed that he did not change any configuration options that would
> affect either the Eclipse environment or the application, it just started
> to behave slow.

What aspects are slow? Stepping, viewing variables, evaluating expressions?

Try clearing all breakpoints and watchpoints. Also, is it possible that the
code itself changed, e.g., that some object that happens to get displayed in
the variables view got a new toString() method that is expensive?
Re: Debugger very very slow. [message #323653 is a reply to message #323651] Fri, 04 January 2008 13:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jdeaver.streambase.com

I have had this happen several times and deleting all my breakpoints
instantly fixes the problem.
Re: Debugger very very slow. [message #323657 is a reply to message #323653] Fri, 04 January 2008 14:01 Go to previous messageGo to next message
Eclipse UserFriend
We tried that and immediately everything returned to normal.

Thank you very much.

This may require a little more investigation on behalf of the Eclipse
platform team, since this would indicate IMHO that there is something down
in the guts of the debugger that is not handling this situation very
gracefully.

Again, thanks for the assistance.

Whatty

"John Deaver" <jdeaver@streambase.com> wrote in message
news:flltu9$8h8$1@build.eclipse.org...
>I have had this happen several times and deleting all my breakpoints
>instantly fixes the problem.
Re: Debugger very very slow. [message #323659 is a reply to message #323657] Fri, 04 January 2008 14:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wharley.bea.com

"Steve Whatmore" <steven.whatmore@lynxdev.com> wrote in message
news:fllvpb$k3f$1@build.eclipse.org...
> We tried that and immediately everything returned to normal.
>
> Thank you very much.
>
> This may require a little more investigation on behalf of the Eclipse
> platform team, since this would indicate IMHO that there is something down
> in the guts of the debugger that is not handling this situation very
> gracefully.

Glad it helped.

I should have thought to have you back up the workspace beforehand, so that
you could file a bug. The problem with investigating this kind of thing is
of course that it only happens when you don't want it to, so it's hard to
work on.

Like our own, I believe the guts of the debugger are full of strange,
cryptic, smelly organisms that mostly get along with each other fine but
occasionally blow up dramatically and unpleasantly.
Re: Debugger very very slow. [message #323661 is a reply to message #323653] Fri, 04 January 2008 14:41 Go to previous messageGo to next message
Eclipse UserFriend
Maybe there is a breakpoint whose (conditional) evaluation is costly and
it's not hitting anything.

John Deaver wrote:
> I have had this happen several times and deleting all my breakpoints
> instantly fixes the problem.
Re: Debugger very very slow. [message #323663 is a reply to message #323661] Fri, 04 January 2008 16:39 Go to previous messageGo to next message
Eclipse UserFriend
No, just normal breakpoints with no conditions.

"Francis Upton" <francisu@ieee.org> wrote in message
news:flm264$vik$1@build.eclipse.org...
> Maybe there is a breakpoint whose (conditional) evaluation is costly and
> it's not hitting anything.
>
> John Deaver wrote:
>> I have had this happen several times and deleting all my breakpoints
>> instantly fixes the problem.
Re: Debugger very very slow. [message #323665 is a reply to message #323659] Fri, 04 January 2008 16:40 Go to previous message
Eclipse UserFriend
Exactly what kind of organic software are you building, LOL

Thanks for the assistance.

"Walter Harley" <wharley@bea.com> wrote in message
news:flm1qk$ufb$1@build.eclipse.org...
> "Steve Whatmore" <steven.whatmore@lynxdev.com> wrote in message
> news:fllvpb$k3f$1@build.eclipse.org...
>> We tried that and immediately everything returned to normal.
>>
>> Thank you very much.
>>
>> This may require a little more investigation on behalf of the Eclipse
>> platform team, since this would indicate IMHO that there is something
>> down in the guts of the debugger that is not handling this situation very
>> gracefully.
>
> Glad it helped.
>
> I should have thought to have you back up the workspace beforehand, so
> that you could file a bug. The problem with investigating this kind of
> thing is of course that it only happens when you don't want it to, so it's
> hard to work on.
>
> Like our own, I believe the guts of the debugger are full of strange,
> cryptic, smelly organisms that mostly get along with each other fine but
> occasionally blow up dramatically and unpleasantly.
>
Previous Topic:How To Share A POJO Across Plugins?
Next Topic:Invalid Thread Access during DebugUIPlugin.start()
Goto Forum:
  


Current Time: Thu Jul 10 03:09:53 EDT 2025

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

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

Back to the top