[PHP] how to use xdebug to Debug php in NetBeans. In fact, the article focuses on how to configure the xdebug environment of php. after all, the environment is ready, such as the IDE such as NetBeans and Eclipse, any one can Debug
Debug PHP in vim and install PHP CODE_SNIFFER,PHP-MD. Phpqa.vim
1: Install PHP code sniffer and PHP MD
PHP Code Sniffer
of the A:centos department.
#yum Install
Debug PHP in vim and install PHP CODE_SNIFFER,PHP-MD. Phpqa.vim
1: Install PHP code sniffer and PHP MD
PHP Code Sniffer
of the A:centos department.
#yum Install
Use GDB to Debug PHP code to solve the endless PHP code loop problem, gdbphp. Debug the PHP code using GDB to solve the endless PHP code loop problem. when gdbphp recently helped a colleague solve the SwooleServer problem, it foun
EclipseforPHPDevelopers cannot Debug PHP controller code. my eclipse version is as follows: nbsp; Eclipse nbsp; for nbsp; PHP nbsp; DevelopersVersion: nbsp; Helios nbsp; service nbsp; Release nbsp; 2 Build nbsp; Eclipse f
while there, causing N to cross over, fix while (n>0)//DOESN ' t-let n reach 0
{
result*=n;
n--; Decrements only after the evaluation
}
Some quick commands L–list
p–print Print {variable}
c–continue
s–step
b-break break line_number/break [File_nam E]:line_number/break [File_name]:func_name
r-run
Set The difference between C/N/S
C or Continue:debugger would continue executing until the next break point.
N or Next:debugger would execute the next line as a single instru
I have introduced the PHP development tool zend studio7 getting started tutorial. zend studio is actually very memory-consuming. For beginners of PHP, I will share with you how to configure Editplus to debug the PHP program today, after Editplus is configured, PHP website de
Control Panel better operation of course also can choose to use WAMPP integration environment, the two are similar)
Of course, if you want to study, you can download PHP, MySQL, Apache and Xdebug to complete the installation. Since the version of Xampp 1.68 comes with the xdebug, you only need to turn it on.
Third, configure php.ini, open Xdebug.
[xdebug]zend_extension = "D:\xampp\php\ext\php_xdebug.
Previously, I introduced the PHP development tool zendstudio7 getting started tutorial. zendstudio is actually very memory-consuming. for beginners of PHP, I will share with you how to configure Editplus to debug the PHP program today, after configuring Editplus for PHP webs
EclipseforPHPDevelopers cannot Debug PHP controller code. my eclipse version is as follows:
Eclipse for PHP Developers
Version: Helios Service Release 2
Build id: 20110301-1815
.
Able to debug the code under the view directory
Before www.leapsoul.cn, I introduced the PHP development tool ZendStudio7 getting started tutorial. In fact, it is very convenient to debug PHP using zendstudio. zendstudio supports the debugging tool zenddebugger by default and third-party debugging tools, today, I will share with you how to use zendstudio to configure Xdebug to
Previously, I introduced the php development tool Zend studio7 getting started tutorial. In fact, it is very convenient to debug PHP using Zend studio. Zend Studio supports the debugging tool Zend Debugger by default and allows the use of third-party debugging tools, today I will share with you how to use Zend studio to configure xdebug to
. So is written for the PHP script call, if the PHP script execution is broken,. So can only be in the process of grief and finally, PHP script debugging often used Echo, Print_r, var_dump are not useful. Even if you can print a little error log out, but also saw the appearance, do not know the inside, can not solve some strange bugs. Fortunately we have GDB, the
bounds, fix
while(n>0) //doesn't let n reach 0{result*=n;n--; //decrements only after the evaluation}
Some quick commands
L-listP-print {variable}C-continueS-stepB-break line_number/break [file_name]: line_number/break [file_name]: func_nameR-runSet=
Watch
ENTER: pressing enter key wowould execute the previusly executed command again.
Differences between c/n/s
• C or continue: Debugger will continue executin
First here to download Hbuilder (Hbuilder is the best phpide, you can refer to PHP is the world's best programming language), the following interface:
Open the Debug option for Wamp (XDebug): Each time you turn on a XDebug option, Wamp restarts once, so be patient for about 10 seconds.
The debug PHP file must be
. PHP Debug 1, look at the error log, but also the most direct2. Compulsory interception of var_dump in the middle of script (); exit;3. PHP DebugWhere would you like to see 1? Debugging?? Do not know what you use the development tools are beginners with Notepad, will be written out of the page to run, if not the results you want, you can do echo the simplest! An
Php can be used for breakpoint debugging like JavaScript. Recently, it uses a foreign framework set template and is not familiar with its syntax. You can use breakpoint debugging to check the running position. Can zenddebug be implemented? Or is there any other method? Do not go back to exit, die, or something. php can perform breakpoint debugging like JavaScript. Recently, it uses a foreign framework set t
Install the php-debug plug-in. Find the readme_en.txt file in the xamppinstallation directory and check the php version PHP5.6.30 (VC11X8632bitthreadsafe) + PEAR. Download the php plug-in xdebug. PHP5.6VC11TS (32bit) (SHA256: cec798666b069f8c2d5b44222c878095d3d97c456ef
Install the
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.