Collecting data... forever, and ever, and ever.

OK, here's my real problem. Sometimes, rarely, but then very intrusively, I'll enter the debugger on a breakpoint and get "Collecting data..." forever. Not 5 seconds, or 40 seconds, but forever.

Today it's happening when debugging an app deployed in WebSphere. My versions/builds are:

- IntelliJ v5.1 build 4267
- IBM WebSphere Application Server, 5.1.1.8
Build Number: cf80548.03
Build Date: 12/01/2005

I also can't seem to get any kinda of logging out on this problem. I have added -Didea.debugger.trace="SENDS RECEIVES" in my idea.bat file, set the IDEA_JDK to point to my new JDK5, and manually run "idea.bat 2> debugTrace", and still I get no trace or log output of any kind. (perhaps those instructions were for prior versions of IntelliJ?)

Does anyone have any suggestions? At the moment my debugger is useless, and hacking it by putting in lots of println() calls and redeploying our ant-build war files is a royal pain in the... Any advice?

3 comments

I have more information! I can reproduce this problem with the following code by putting a breakpoint on the "Greetings..." line and debugging it locally. It makes no sense to me at all why this would cause a "Collecting data..." hang-up.

Am I an ignorant buffoon? Or is it Sea Hags flying overhead causing electrical disturbances? Help! Eeek!

0

Correct me if I'm wrong because I'm no expert on this subject, but doesn't that version of websphere support only java built with IBM Java 1.4.x? Are you sure building your code with the proper JDK?

Also, when you start the debug session does it connect successfully with no errors?

0

If you run on linux kernel 2.6.x, search this newsgroup or the
corresponding web forum for thread with this subject:
"What's 'Breakpoint is invalid: Source code changed'"

There it is explained.

Greetings!
George

Laszlo wrote:

OK, here's my real problem. Sometimes, rarely, but then very intrusively, I'll enter the debugger on a breakpoint and get "Collecting data..." forever. Not 5 seconds, or 40 seconds, but forever.

Today it's happening when debugging an app deployed in WebSphere. My versions/builds are:

- IntelliJ v5.1 build 4267
- IBM WebSphere Application Server, 5.1.1.8
Build Number: cf80548.03
Build Date: 12/01/2005

I also can't seem to get any kinda of logging out on this problem. I have added -Didea.debugger.trace="SENDS RECEIVES" in my idea.bat file, set the IDEA_JDK to point to my new JDK5, and manually run "idea.bat 2> debugTrace", and still I get no trace or log output of any kind. (perhaps those instructions were for prior versions of IntelliJ?)

Does anyone have any suggestions? At the moment my debugger is useless, and hacking it by putting in lots of println() calls and redeploying our ant-build war files is a royal pain in the... Any advice?

0

Please sign in to leave a comment.