Unusably slow debugging of GWT in Maia

Could be GWT-only or not, but Maia #10322 makes debugging a GWT app unusable (I'm not using IDEA's gwt facet, just launching it via gwt's hosted mode class). Symptoms - every step takes forever, with 'Collecting data...' shown everywhere. IDEA props:

-XX:+UnlockExperimentalVMOptions
-XX:+UseG1GC
-Xms256m
-Xmx768m
-XX:MaxPermSize=120m

Andrew

0
8 comments

I'm facing the very same issue with 10322 (on OSX) and debugging GWT code is pretty much unusable. I haven't tried 10369 yet because there were some reports of it breaking GWT projects. Any idea if this got resolved in build 10369? If so, I'll quickly update my EAP version.

Thanks,
Sanjiv

0

I just tried build 10369 and unfortunately the debugger is still incredibly slow when stepping through GWT code. It takes 15 - 20 seconds between each F8 keypress.

Can you guys please look into it? As it stands the debugging GWT code is practically unusable.

Thanks,
Sanjiv

0

I don't think this issue is related to GWT. Debugging GWT code doesn't differ from debugging plain Java code from IDEA's point of view so the problem
seems to be a JDK issue.

I just tried build 10369 and unfortunately the debugger is still incredibly slow when stepping through GWT code. It takes 15 - 20 seconds between each F8 keypress.

Can you guys please look into it? As it stands the debugging GWT code is practically unusable.

Thanks,
Sanjiv

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



--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0

Nikolay,

Same project, same JVM, debugging different module (remote JVM attach). Things work ok. There is an occasional slow-down, but _nothing_ like with GWT, where each step is agonizing.

Perhaps it's a difference between regular debug and remote attach, or smth else, at least you have an extra data point. Just for reference, my JVM:


java version "1.6.0_14"
Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode, sharing)


My VM properties:

-XX:+UnlockExperimentalVMOptions
-XX:+UseG1GC
-XX:MaxGCPauseMillis=2000
-XX:GCPauseIntervalMillis=5000
-XX:+G1ParallelRSetUpdatingEnabled
-XX:+G1ParallelRSetScanningEnabled
-XX:+DoEscapeAnalysis
-XX:+AggressiveOpts
-Xms256m
-Xmx768m
-XX:MaxPermSize=150m


However, symptoms seem to be the same even with stock settings.

HTH,
Andrew

0

Nikolay,
There's definitely something amiss with GWT debugging with Maia (10369). I opened the same project in IDEA 8.1 buid 9725 and stepped through the GWT code via F8. The debugger returned almost immediately and proceeded to the next line of code. Carrying out the same steps in the same project / same code using Maia 10369 results in an extreme slowdown when stepping through the code. Stepping through server side code usign Maia seemed to be fine. I've tried this on OSX and XP as well and notice the same behavior.

I tried to record debug sessions using IDEA 8.1 buid 9725 and  Maia 10369 using Wink. While Wink seems to have recorded as flash fine it seems to playback a little faster than the actaul times if took, however it should still give you a fair idea of the differences between the two.

Let me know if you need any more info, or you you prefer to move this to tracker.

Thanks,
Sanjiv



Attachment(s):
gwt-slow-debugger.zip
0

The same issue in build 10558.

0

Build 10597 seems to have fixed this issue.

Nikolay, did you knowingly make any change / fix for this?

0

Please sign in to leave a comment.