| Author |
Message |
|
|
Post subject: Very long delay to hit Java breakpoint from AJAX browser
Posted: Feb 19, 2009 - 06:31 PM
|
|
Registered Member

Joined: Jan 22, 2009
Posts: 16
|
|
I just started experimenting with the AJAX workspace and see a couple of problems.
The biggest problem affects server side debugging usability; the delay between executing a request in the browser and waiting for the breakpoint to be hit makes the process unworkable. I've clocked the delay at over 2 minutes; eclipse is non-responsive during the whole time. I thought that the delay could be caused by having my standard workspace window open but closing that window has no effect, nor does starting the Tomcat instance from the AJAX workspace have any effect.
The other problem is that either my AJAX callback handler doesn't get fired or the browser does not support DHTML. My callback handler is supposed to change css properties and change element values but doesn't.
I am using eclipse 3.3 and myeclipse 6.6 on Linux. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Very long delay to hit Java breakpoint from AJAX browser
Posted: Feb 20, 2009 - 07:28 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 8012
|
|
Can you make sure all unused projects are closed and check if that speeds up debugging. All open projects can be considered a target for a breakpoint -- so the more source files open the longer it can take. |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject: RE: Very long delay to hit Java breakpoint from AJAX browser
Posted: Feb 20, 2009 - 08:24 PM
|
|
Registered Member

Joined: Jan 22, 2009
Posts: 16
|
|
I do have several projects in my workspace but all are referenced by the webapp. The normal time to hit a breakpoint, when I'm not running the AJAX workspace, from an external browser is pretty fast. I'd estimate about 10 seconds to hit a breakpoint the first time (after a fresh start of eclipse and tomcat) but less than a few seconds to hit the same breakpoint on a subsequent request.
I did find the problem with my AJAX callback handler problem. I had set my connection to use a synchronous fetch and Mozilla doesn't call the handler except with async requests. However, after changing the call to be asynchronous, I still don't see the dynamic css changes that the handler is supposed to execute. Does the plugin support DOM changes to styles?
Thanks.
Robin. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Very long delay to hit Java breakpoint from AJAX browser
Posted: Feb 25, 2009 - 12:09 AM
|
|
Registered Member

Joined: Jan 06, 2004
Posts: 23824
|
|
Ahh sorry about that Robin, the tooling doesn't support that yet. |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|
| |