0

I'm developing a Flex application that make calls to PHP scripts. All work fine but sometimes and without any reason the app stops. It seems that something wrong in the call to the PHP script, bad response or simply there is no response and the app wait until such response.

My question is if anyone know how can I trace the response of a PHP script call within the browser. Is there any tool that can monitorize the call and response?

Thanks.

1
  • Try XDebug Commented Oct 21, 2011 at 16:10

2 Answers 2

2

I would recommend using firephp with firebug both are FireFox Add-Ons.

Sign up to request clarification or add additional context in comments.

Comments

0

Your PHP script would have to die and report what's broken. This report would go to the browser and you can do whatever you want with it.

Read up on the following functions:

http://php.net/manual/en/function.set-error-handler.php

http://php.net/manual/en/function.error-get-last.php

Or like Marc B said - XDebug will dump trace for you if have access to instalilng modules

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.