PHP. debugging tool. Trace

Source: Internet
Author: User

PHP. debugging tool. Trace

1. Use xdebug to generate trace records .. One is trace and the other is profile record.

2. xdebug trace file parser or xdebug trace Tool
Xdebug. trace_format 0 = readable. each column from left to right indicates the time point, memory, and memory difference (xdebug needs to be set. show_mem_delta = 1), level, function name, function parameter (required, xdebug. collect_params = 1, as long as it is non-zero), the currentCodeFile Name of the row, row number.

1 = machine readable [1]. Third-party apps are required, such as xdebug trace file parser or xdebug trace viewer.
2 = table in HTML format. Open it in browser and display the table

 

3. For xdebug debugging, you sometimes need to enable multi session, but you do not need to set it to multi session when using Zend studio9 .. Alternatively, you do not need to start IE from the IDE. You can directly import the URL in the IE Key to debug the breakpoint, Just Like java...

Attilax log 2012.7.15

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.