Jump to content

Debugging in PHP


phprocks!

Recommended Posts

Hi, I've added some debug statements in my code. It generates a debug log (level 7). The log is generated by executing the index page through a load test (1000 VU accessing concurrently 5 mins). Is there any guide out there that explains how to interpret the debug log? I just can't make any sense of it.

 

 

Link to comment
https://forums.phpfreaks.com/topic/140497-debugging-in-php/
Share on other sites

How did you add the debugging code. If it's your own code, you should know how to interpret it.

 

Ken

 

Well, unfortunately it isn't my code. I'm a performance tester and trying to make sense which functions are degrading the performance during load testing. I get to see loads of time stamps and session id's in a random order.

Link to comment
https://forums.phpfreaks.com/topic/140497-debugging-in-php/#findComment-735211
Share on other sites

How did you add the debugging code. If it's your own code, you should know how to interpret it.

 

Ken

 

Well, unfortunately it isn't my code. I'm a performance tester and trying to make sense which functions are degrading the performance during load testing. I get to see loads of time stamps and session id's in a random order.

 

An example is:

Mon, 12 Jan 2009 12:50:27 +0100 DEBUG (7): (runtime 9,186 sec id=) dispatch()...

Link to comment
https://forums.phpfreaks.com/topic/140497-debugging-in-php/#findComment-735214
Share on other sites

What exactly does 'double' meen?

 

What we are telling you is the output you describe is not created by standard php. Obviously its some custom debugger and as such we are unable to help you with its output without seeing how it creates it.

 

I understand. It is a log generated by Apache server and set at level 7. I hope that clarifies my problem.

 

PS. I'm all new to this so please forgive my ignorance.

Link to comment
https://forums.phpfreaks.com/topic/140497-debugging-in-php/#findComment-735234
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.