Firebug can capture XHR traffic, but Doug's problems are related to the 
CSS/secondary stuff loaded by the browser as a consequence. You could try the 
Mozilla LiveHTTPHeaders extension, which will record all the traffic to a 
browser, and can save sessions to disk. (Fiddler does a similar job, and can 
intercept traffic from non-Moz browsers, but won't run on a Mac unless you've 
got Parallels or VMWare, I guess.)

Sounds like a browser issue rather than a Prototype one, as the 
PeriodicalUpdater will only fetch the content, and then hand off to the 
browser for any associated CSS, images, etc.

Dave

On Tuesday 27 March 2007 22:50, David Dashifen Kees wrote:
> Your best bet for debugging javascript is to use the Firebug extension
> for Firefox.  I have no idea if Firefox extensions work in Camino ...
> they might since they're both Mozilla products.  But, Firebug can
> actually let you see and analyze the information that is being sent to
> and received from the server during Ajax calls.  It'll actually work
> with any javascript framework, too, not just prototype, since what it's
> doing is watching the traffic over the XMLHttpRequest (XHR) object.
>
> Other than that, I'm not savvy with respect to the PeriodicalUpdater so
> I'll leave that to someone else ;)
>
>  -- Dash --
>
> Trauma wrote:
> > I'm not even sure where to begin with debugging something like this.
> > But I have an application that uses the Ajax.PeriodicalUpdater.  It
> > appears that if I leave the page open long enough, at a certain point
> > the update refreshes without any of its css formatting (elements look
> > garbled).  Is this a known issue?  ...or perhaps a browser issue?
> >
> > If it's any help...
> > Symfony Framework 1.0
> > PHP 5.2.1
> > Prototype 1.5.0
> > Camino Browser 1.0.3
> >
> > Maybe someone can point me in the right direction for how to debug the
> > Ajax stuff.
> >
> > Thanks,
> > Doug
>
> >
>
> --
> This email has been verified as Virus free
> Virus Protection and more available at http://www.plus.net

-- 
----------------------
Author
Ajax in Action http://manning.com/crane
Ajax in Practice http://manning.com/crane2
Prototype & Scriptaculous in Action http://manning.com/crane3

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to