0

When I debug php program, I often use the function var_dump() to monitor the changes of variables' values to find out where the unexpected thing happens. This needs a lot of sentences and is certainly not a formal way to do this. IDEs like Zend Studio can do this, but I prefer the simpler way like var_dump(). I think there may be an extension can do this, which could be used to monitor the appointed variables and show all of the changes of their values. But I cannot find it by my effort, so could you help me?Thanks.

1
  • Personally, I've always been happy with "echo" :) Commented Nov 28, 2012 at 4:58

1 Answer 1

3

Try to use http://xdebug.org. It's free and it's able to display of stack traces on error conditions, as a profiler, etc.

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

1 Comment

Thanks, I will research it and determine whether it is exactly what I need.

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.