Home > Backend Development > PHP Tutorial > eclipse - How to analyze program process without interrupting in php?

eclipse - How to analyze program process without interrupting in php?

WBOY
Release: 2016-08-04 09:21:20
Original
960 people have browsed it

In PHP or Java, I need to view other people's programs and cannot set breakpoints. Is there a way to view the execution process of the program without breaking points?

Thank you.

Reply content:

In PHP or Java, I need to view other people's programs and cannot set breakpoints. Is there a way to view the execution process of the program without breaking points?

Thank you.

xdebug_start_trace and xdebug_end_trace, thank you. For more detailed description, please follow me and chat privately.

Backtrack from the stack.

You can log, I personally think looking at the code is the best

xdebug + ide (phpstorm zs) breakpoint debugging takes you flying

file_put_contents(); the most commonly used, such as debugging the interface and using this for oauth authentication

1. Use log logs
2. Trigger error debugging

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template