NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Debugger works, but profiler won't for ajax calls


Joined: 05 Mar 2008
Posts: 7
Reply with quote
I'm having a problem with the profiler. I've set it to run with the debugger and I've set the debugger to debug sessions. This appears to work in some cases, but not in others. The debugger on the other hand works in all cases. Here are two counter examples:

On a particular page, say index.php I have a js loop that periodically requests another page (timeout.php) via ajax. This triggers every minute or so. I can watch this request come through the debugger in the IDE and the profiler tab adds a new profile report each time.

On this same page that are many other ajax requests that call functions in index.php (using xajax). The functions are defined in other files, such as functions.php, included in index.php . I can watch the debug sessions for these requests as well. I can also set breaks points in functions.php and execution stops there as expected. The profiler, however, never shows a profile report for these requests. Even while I'm debugging one of these functions I can see new profile reports for the timeout.php script but nothing is created for these other ajax requests.

I didn't used to have this problem (several versions ago), but I have no idea in which version I started having this problem. I've checked the DBGSESSID is set correctly and that the cookie is indeed being sent to the script. All my settings appear correct. I've read several posts on this forum and have yet to find anything that has turned out to be useful in fixing this problem.

Anybody have any ideas?
View user's profileFind all posts by amanwaringSend private message
Debugger works, but profiler won't for ajax calls
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic