As in visual studio vb programmer can debug program line by line.Is there any facility provided by any IDE for php ?
Printable View
As in visual studio vb programmer can debug program line by line.Is there any facility provided by any IDE for php ?
I have not seen an IDE that will debug PHP like other languages yet. There are however lots of IDEs avalilble, if you search this forum you fill find lots of them plus the comments from people who have tried and used them.
Would be nice, I've often wished for one myself :)
I usually end up just tracing through it mentally or sticking echo()'s in the code at various key points to see what is going wrong.
print, print_r and die, if only there was break points.
Suppose it could be possible to make a IDE that support PHP breakpoints and such, BUT it would require modifying the source to PHP itself.
How breakpoint can be used to get some help in debug in DreamWeaver.
Ok i searched around to see if there was anything that could used to debug PHP, better than manualy, and i came across this http://dd.cron.ru/dbg/
Im not sure about dreamweaver as i dont have a copy of it im afraid.
John i have downloaded and using it but i am still unable to figure out why it has not same feature of debugging as Visual Studio.I am interested in line by line style debug as in visual studio.This software is not doing it :confused: :(
Because of the way the engines are written. PHP is more of an inline, interpreted scripting langauge, as opposed to ASP.NET, VB.NET, VB6 and C#, which are compiled languages.
http://community.maguma.org/Maguma_Studio.520.0.html
Zend also does line by line ddebugging, I have never tried it though as it is very expensive.