Debugging slow in 8.0.1

Hi,

Debugging a webapp is slow to the point of unusability.  My project has only one line breakpoint enabled and no method breakpoints.  What info would help JetBrains debug?

Thanks

11 comments
Comment actions Permalink

Hi Christopher,

What exectly is slow? Stepping, data rendering? Please describe typical use case.
What is your target JDK and the web-server? Do you have watch return values button enabled (see 'Variables' view toolbar)

--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"

"Christopher Brown" <no_reply@jetbrains.com> wrote in message
news:32310313.5601228773083619.JavaMail.clearspace@app4.labs.intellij.net...

Hi,

>

Debugging a webapp is slow to the point of unusability. My project has only one line breakpoint enabled and no method breakpoints.
What info would help JetBrains debug?

>

Thanks

>

---
Original message URL: http://www.jetbrains.net/devnet/message/5228548#5228548



0
Comment actions Permalink

Hi Eugene,

I'm attempting to attach 8.0.1 to a J2EE app running in JBoss 4.2.2 under jdk1.5.0_16 on Windows XP.  As soon as the debugger is atttached, JBoss's performance gets really really bad -- a page request just seems to wait and wait, and my line breakpoint is never reached.  When the debugger is disabled, the page request is very quick.

I left that server up, then started 7.0.4.  7.0.4 behaved the same way (as if 8.0.1 got JBoss into a slow-debugging state that it couldn't recover from).

I stopped the server, then started 7.0.4.  7.0.4 then behaved fine.

I can reproduce this consistently.

Thanks

0
Comment actions Permalink

Could you please send me your iws file?
Also please try to play around with debugger settings - turn off all features that imply method invocation inside the debuggee
(mainly Alternative collections views and toString() view)

--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"


0
Comment actions Permalink

HI Eugene,

And of course now I can't duplicate it!

Will keep an eye out and will post an .iml if if happens again.

Sorry.

0
Comment actions Permalink

and will post an .iml


Not .iml, but .iws file


--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"


0
Comment actions Permalink

Hi Eugene, hi Cristopher,

I have the same problem.
Until this Tuesday everything was fine but since yesterday (I am not aware of any changes) the debugging with JBOSS is very slow (about 1 minute to display a simple web-page) (remote and local). Starting JBoss local with "Run" is fast as ever.
I am using Jdk_6_10, Intellij 8.0.1, JBoss4.2.2.GA. The application is a Web-Application with struts2. I tried to change the debugger port or using a different JDK but it changes nothing.

I would appreciate your help.

At the moment I am using a workaround with starting in RUN mode, and put the debugger (remote) only on if I really need the debugging and have navigated to the right page to make the debug-cycle as short as possible but this should not be a long-time-solution. Switching back to Idea 7 I did not try because of the problems I would have with different facets handling etc.

@Christopher: What did you change, so that you are not having the problem anymore?

0
Comment actions Permalink

I didn't change anything... very odd.  Sometimes it works fine, sometimes it doesn't.

0
Comment actions Permalink

Hi,

Update: The whole Debugger seems to be slow, not only debugging of web-applications. To debug a "standalone" application is not so slow as the debugging of a web-application but much slower than it has been.

0
Comment actions Permalink

Hi Wolfgang,

What is your OS? What are debug parameters used to start the debuggee?
To summarize: did I understood it right that when debugger is attached, even if there are no breakpoints, the debuggee runs much
slower than without the debugger? When a breakpoint is reached, how fast is data rendering in debugger and stepping? What kind of
breakpoints are you using? Method breakpoints among them? Any conditions on breakpoints involving method invocations?

--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"



"Wolfgang Hild" <no_reply@jetbrains.com> wrote in message
news:1064243.25561229011815465.JavaMail.clearspace@app4.labs.intellij.net...

Hi Eugene, hi Cristopher,

>

I have the same problem.
Until this Tuesday everything was fine but since yesterday (I am not aware of any changes) the debugging with JBOSS is very slow
(about 1 minute to display a simple web-page) (remote and local). Starting JBoss local with "Run" is fast as ever.
I am using Jdk_6_10, Intellij 8.0.1, JBoss4.2.2.GA. The application is a Web-Application with struts2. I tried to change the
debugger port or using a different JDK but it changes nothing.

>

I would appreciate your help.

>

At the moment I am using a workaround with starting in RUN mode, and put the debugger (remote) only on if I really need the
debugging and have navigated to the right page to make the debug-cycle as short as possible but this should not be a
long-time-solution. Switching back to Idea 7 I did not try
because of the problems I would have with different facets handling etc.

>

@Christopher: What did you change, so that you are not having the problem anymore?

>

---
Original message URL: http://www.jetbrains.net/devnet/message/5228794#5228794



0
Comment actions Permalink

Hi Eugene,

I checked the breakpoints.
There was a "method breakpoint" set which I did not want to use but accidently set I suppose. After removal of this breakpoint everything is fine.
Thanks for Your help and sorry.

Wolfgang.

0

Please sign in to leave a comment.