MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
rcoe67
Post subject: Very long delay to hit Java breakpoint from AJAX browser  PostPosted: Feb 19, 2009 - 06:31 PM
Registered Member
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.
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: Very long delay to hit Java breakpoint from AJAX browser  PostPosted: Feb 20, 2009 - 07:28 PM
Registered Member
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
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
rcoe67
Post subject: RE: Very long delay to hit Java breakpoint from AJAX browser  PostPosted: Feb 20, 2009 - 08:24 PM
Registered Member
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.
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject: RE: Very long delay to hit Java breakpoint from AJAX browser  PostPosted: Feb 25, 2009 - 12:09 AM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23824

Ahh sorry about that Robin, the tooling doesn't support that yet.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits