Debugging

Is debugging slow as hell for anyone else or is it just me? I'm also
getting some really wierd behavour - like it seems to execute the same code
twice sometimes.

Latest EAP but was acting strange on older versions too.


27 comments
Comment actions Permalink

Actually... forget the wierd hehavour thing. Was something dumb on my part.

Still very slow however. I suspect it's related to the number of threads I
have running.

-- Glen

"Glen Stampoultzis" <gstamp@iinet.net.au> wrote in message
news:cci99r$hij$1@is.intellij.net...

Is debugging slow as hell for anyone else or is it just me? I'm also
getting some really wierd behavour - like it seems to execute the same

code

twice sometimes.

>

Latest EAP but was acting strange on older versions too.

>
>


0
Comment actions Permalink

very very slow for me too


"Glen Stampoultzis" <gstamp@iinet.net.au> wrote in message
news:cci99r$hij$1@is.intellij.net...

Is debugging slow as hell for anyone else or is it just me? I'm also
getting some really wierd behavour - like it seems to execute the same

code

twice sometimes.

>

Latest EAP but was acting strange on older versions too.

>
>


0
Comment actions Permalink

Particularly the first step? That seems to be really slow for me.


"Alex Roytman" <nospam@hello.world> wrote in message
news:ccijms$4a8$1@is.intellij.net...

very very slow for me too

>
>

"Glen Stampoultzis" <gstamp@iinet.net.au> wrote in message
news:cci99r$hij$1@is.intellij.net...

Is debugging slow as hell for anyone else or is it just me? I'm also
getting some really wierd behavour - like it seems to execute the same

code

twice sometimes.

>

Latest EAP but was acting strange on older versions too.

>
>

>
>


0
Comment actions Permalink

For me it's very slow (hangs with "Collecting data..." while stepping) only if "Supsend all threads" is ON (the icon in the bottom right of the debugger tab icon bar).

See
http://intellij.net/tracker/idea/viewSCR?publicId=33201

0
Comment actions Permalink

"Glen Stampoultzis" <gstamp@iinet.net.au> wrote in message
news:cci99r$hij$1@is.intellij.net...

Is debugging slow as hell for anyone else or is it just me? I'm also
getting some really wierd behavour - like it seems to execute the same

code

twice sometimes.


This has been an issue for a while. See
http://www.intellij.net/tracker/idea/viewSCR?publicId=32110 and its
duplicates. I can't believe they are on RC2 while this is still an issue.

--
Jordan Zimmerman
http://www.jordanzimmerman.com


0
Comment actions Permalink

Tracker Request # 33201 Submitted on May 24, 2004 20:00 MSD
by: Stephen Kelvin

Vote for this request ( my votes 0 , total votes 250 )

-



Title: Debugger is SLOW
Type: Bug Planned for Version: Pallada
Priority: ? State: Open
Build: 2026
OS: Duplicates found: 28917 32110 Description: I noticed this in 2018 and it's still in 2026: Step to next line takes about 5 seconds. This happened every couple of builds in the the past. JetBrainers themselves must have a radically different project setup for not noticing this. This time, if I have any other tab than "Frame" in the foreground (e.g. "Watches") it's very quick, but off course that doesn't help that much as I really need to the frame infos. Note that CPU load is about zero all the time. State: Open means what ? "Jordan Zimmerman" ]]> дÈëÓʼþ
news:cckl46$dcd$1@is.intellij.net...

"Glen Stampoultzis" <gstamp@iinet.net.au> wrote in message
news:cci99r$hij$1@is.intellij.net...

Is debugging slow as hell for anyone else or is it just me? I'm also
getting some really wierd behavour - like it seems to execute the same

code

twice sometimes.

>

This has been an issue for a while. See
http://www.intellij.net/tracker/idea/viewSCR?publicId=32110 and its
duplicates. I can't believe they are on RC2 while this is still an issue.

>

--
Jordan Zimmerman
http://www.jordanzimmerman.com

>
>


0
Comment actions Permalink

i don't think that they fix this in the 4.5 release,
i found in a thread yesterday, that major performance
improvments will be done in version 5.
the problem with the slow debugger is the evaluation of
the fields inside a object, this took too long, cause they traverse
the whole object tree down. also i found out that they done this
every step you take with the debugger.


0
Comment actions Permalink

"Ercan Özkan" <ercano@netropol.com> wrote in message
news:ccl7tb$i3f$1@is.intellij.net...

i don't think that they fix this in the 4.5 release,
i found in a thread yesterday, that major performance
improvments will be done in version 5.
the problem with the slow debugger is the evaluation of
the fields inside a object, this took too long, cause they traverse
the whole object tree down. also i found out that they done this
every step you take with the debugger.

>

Well, then - they should provide an option to turn this off. Seems like a
simple workaround for now.

--
Jordan Zimmerman
http://www.jordanzimmerman.com




0
Comment actions Permalink

Usually slow debugging caused either by implicit method invocation or by starting/stopping all the threads during stepping.

Implicit method invocation happens either in 'toString' or in alternative collections view. Turn those options off to increase the performance.

Also you should turn off 'Suspend All Threads when stepping' option.

0
Comment actions Permalink

The same code may be executed twice or even more times when this code is invoked by debugger during expression evaluation. This happens, for example, when you turn on 'toString' or when watch some method call expression.

0
Comment actions Permalink

JetBrains - please verify that this will get fixed before release.

0
Comment actions Permalink

Can't agree more - sitting for a minute or more while it collects data is a bit extreme. The wierd thing is that around build 2140 it was lightening fast for me...

0
Comment actions Permalink

We have reproduced this problem in Tomcat 4. When either you stop at breakpoint or Suspend All Threads When Stepping is On debugger is really slow. Stepping in one thread is really quick.

Do you have the same situation?

0
Comment actions Permalink

Yes - stepping through one thread is very quick, it's just the initial stopping at a breakpoint which is incredibly slow for me.

0
Comment actions Permalink

"Alexei Nikitin" <lex@intellij.com> wrote in message
news:6585735.1089903233764.JavaMail.itn@is.intellij.net...

We have reproduced this problem in Tomcat 4. When either you stop at

breakpoint or Suspend All Threads When Stepping is On debugger is really
slow. Stepping in one thread is really quick.
>

Do you have the same situation?


Stepping is fast. But, the first stop at every breakpoint is terribly slow
(30-60 seconds).

--
Jordan Zimmerman
http://www.jordanzimmerman.com


0
Comment actions Permalink

At times it is acceptably fast, but most of the time it is very sluggish - with the same project. That is, when the damn thing works at all... Generally, the debugger's behavior seems very unstable. All of a sudden, it stops locating source files when hitting a breakpoint! What's up with that?? Sometimes restarting the IDE fixes that, but not today. For the life of me, I can't get the damn thing to work today! Wasted the whole day. Very frustrating. I love everything else about IntelliJ, but, seriously, folks, please fix that debugger...

0
Comment actions Permalink

What worries me is that I keep seeing new release candidates and this
debugging issue hasn't been addressed. JetBrains, please provide some
guidance on this.

--
Jordan Zimmerman
http://www.jordanzimmerman.com


0
Comment actions Permalink

Stops locating source files? I have been seeing all kind of problems with
debugger but not this one. What kind of project structure do you have? It
would be nice to know to avoid it.

Regards,
Alex Oscherov

"Constantine Vasilyev" <no_mail@jetbrains.com> wrote in message
news:12924092.1089916783819.JavaMail.itn@is.intellij.net...

At times it is acceptably fast, but most of the time it is very sluggish -

with the same project. That is, when the damn thing works at all...
Generally, the debugger's behavior seems very unstable. All of a sudden, it
stops locating source files when hitting a breakpoint! What's up with that??
Sometimes restarting the IDE fixes that, but not today. For the life of me,
I can't get the damn thing to work today! Wasted the whole day. Very
frustrating. I love everything else about IntelliJ, but, seriously, folks,
please fix that debugger...


0
Comment actions Permalink

I don't think it really depends on the project structure, per ce. And the worst thing, no one I know can't figure out what causes the problem. Something somewhere just goes out of sync - with whatever circumstances present, and... BOOM! The next time you run the debugger, when it hits a break point, it pulls the .class file instead of the source. If you have the IdeaJad plug-in installed, it will ask you whether you'd like to decompile the class file. It's very annoying, because the original source file is right there, but the debugger is not seeing it. Usually, killing Weblogic, reastarting IDEA and recompiling the project solve the problem. Sometimes you have to do it several times - in different sequences. We have a large number of developers here who are using IntelliJ, and literally all of them have run into this issue. One guy on my project actually had sent an email to JetBrains, and they told him to delete the debugger config files

\.IntelliJIdea\config\options\debugger.threadsview.xml
\.IntelliJIdea\config\options\debugger.frameview.xml

and restart the IDE. If you actually look at the contents of these files, you'll see that the Jetbrainer had just pulled that advice out of his ass without thinking. There's nothing in these files that would affect the issue in question. So, we're back to square one. Today, I had to create a completely new project - from scratch - just to get the debugger working again. I wonder for how long... Did I mention I am soo-oo frustrated with this?? ;)

0
Comment actions Permalink

In what build did you experienced this problem? In your tracker request you're talking about 1182.

0
Comment actions Permalink

yes, it's v4.0.3 build 1182. I believe that's the latest official release.

0
Comment actions Permalink

This problem was fixed. We are going to release 4.5 soon you will be able to get this fix in official version.

0
Comment actions Permalink

But what about the debugging speed. Please, JetBrains, let us know if this
will be fixed by release.

--
Jordan Zimmerman
http://www.jordanzimmerman.com

"Alexei Nikitin" <lex@intellij.com> wrote in message
news:25148368.1089992527164.JavaMail.itn@is.intellij.net...

This problem was fixed. We are going to release 4.5 soon you will be able

to get this fix in official version.


0
Comment actions Permalink

Try 2210 when it will be available for EAP. It should be fixed there.

0
Comment actions Permalink

Hey! Much better. Thank you very much.

--
Jordan Zimmerman
http://www.jordanzimmerman.com

"Alexei Nikitin" <lex@intellij.com> wrote in message
news:3552512.1090238128642.JavaMail.itn@is.intellij.net...

Try 2210 when it will be available for EAP. It should be fixed there.



0
Comment actions Permalink

Thamk you. I was searching for that problem for a long time and reproduced it totally by chance.

0
Comment actions Permalink

Much better for me as well :) Good job!

0

Please sign in to leave a comment.