2005 May 22 1:00 PM
I have programmed in ABAP and PHP. Is there a debugging tool for use in PHP where one can step through the program following its path and allowing the program variables values to be displayed? Much like ABAP debugger does. I have heard of Eclipse and PHP plugins, but have not tried it.
Best Regards
Jimmy
2005 May 22 5:12 PM
I use PHPEclipse the Plugin for Eclipse and PHP but I've not done a step through, I'm so used to putting a
echo "Here I am";
In my code, I do know there are some PHP IDE's that do have debugging available maybe one of the other guys here might pop in with a good name of one to try out.
Alvaro,
just use DBG library from NUSPHERE PHP IDE that includes DEBUGGER for PHP. PHP EXPERT EDITOR just use his DBG library. So it's not a problem to cut and paste this library and used them in PHP EXPERT EDITOR. Or just take a look in the forum from NUSPHERE at [http://support.nusphere.com/viewforum.php?f=4]. I can't guarantee that you will be succesfull there.
2005 May 22 5:12 PM
I use PHPEclipse the Plugin for Eclipse and PHP but I've not done a step through, I'm so used to putting a
echo "Here I am";
In my code, I do know there are some PHP IDE's that do have debugging available maybe one of the other guys here might pop in with a good name of one to try out.
2005 May 22 5:24 PM
Of course there are professional debugging tools for PHP
<commercial_plug>
Zend Studio is a complete IDE for developing and debugging applications -- both locally and remotely against the server. It allows you to do all of the common debugging techniques (variable watching, breakpoints, step throughs, etc.) even if you don't have a copy of the code locally available. You can get more information at:
http://www.zend.com/store/products/zend-studio/
</commercial_plug>
If you are interested in more open source alternatives which are much more difficult to use (in terms of ease of use, etc.) you can also check out XDebug:
Hope that helps!
Cheers,
John
2005 May 22 11:50 PM
Any chance of a SDN member discount from Zend on the Zend Studio - $299 is a bit more than I was wanting to pay. Even $99 for the standard was a bit more than I was thinking.
From your more expierenced point of view is the "Remote Debugger" and "Remote Profiler" worth the $200 more? I can imagine they are but at the moment I couldn't think of a single use for them although once in a high productive environment the "Remote Profiler" could become a necessity like Mecury Loadrunner and Wiley for the Java stuff in SAP and EP.
2005 May 23 11:07 AM
Thanks Guys, it was very helpful. The price is a bit too high for my personal use. I am getting used to all the freeware. I might try the Xdebug. Thanks again.
2005 May 23 11:58 AM
Hey Jimmy don't forget about those reward points - especially that 10 pointer for John since it will mark the thread as "Solved" and others will find it quicker when they search for the same thing
2005 Sep 18 3:56 AM
Maguma Open Studio can step through
its a bit buggy but nothing terminal
I'm just learning php and found it really useful
I've just installed phpeclipse and cant figure a way to step through and I'm missing that functinality
-craig
2005 Sep 18 4:17 AM
I tend to write any debug data to a session variable and then dump it print_r() at the end. echo() helps too.
I have mostly used vi for developing, the exception being zend studio in Linux.
2005 Nov 16 2:31 PM
A lower cost PHP editor with debugger and the features listed above would be PHP Expert Editor. It can be found at www.ankord.com.
Regards
B. Mawhinney
2006 Feb 03 3:44 PM
I will recommend you a very nive article on IBM developersWorks
<a href="http://www-128.ibm.com/developerworks/opensource/library/os-debug/">Debugging techniques for PHP programmers</a>
2006 Feb 14 5:40 AM
I use the PHP Expert Editor...It's great...but for some weird reason...Since PHP 5 the debugger doesn't longer work...So i just use the simple but powerfull WRITE or ECHO...If anyone knows something about that problem...please write me a line -;)
Greetings,
Blag.
2008 Jan 21 3:58 PM
Alvaro,
just use DBG library from NUSPHERE PHP IDE that includes DEBUGGER for PHP. PHP EXPERT EDITOR just use his DBG library. So it's not a problem to cut and paste this library and used them in PHP EXPERT EDITOR. Or just take a look in the forum from NUSPHERE at [http://support.nusphere.com/viewforum.php?f=4]. I can't guarantee that you will be succesfull there.
2008 Jan 21 10:51 PM
Radim:
Thanks -:) But I don't use PHP Expert Editor any longer...I'm using...humm...Just forgot the name...But thanks anyway, it was a helpful link -;)
Greetings,
Blag.
2008 Jan 22 9:02 AM
Yes, it's just no problem.
As I noticed, your question was very very lately dated ..... but it was not problem. And as i mentioned you are one of the guru of PHP & SAP scripting writer.
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |