Re: [PHP] Re: Recommendations for PHP debuggers?
On Saturday 26 August 2006 06:29, Colin Guthrie wrote: > > So unless someone has a better idea, I'm back to Kate and a terminal > > window. :-) > > That's the setup I always seem to revert to too!! Can't help but love > Kate, if only it had some sort of code completion I'd be a happy camper... > > Col. Actually it kinda sorta does. It will code complete any string to another string already used in the same file. It's not real code completion, but it's a halfway-decent facsimile and still better than Eclipse / PHP IDE. Although I'm extremely upset at projects being removed in 3.5. Apparently there's now a plugin for it to add projects back in, but it's only available as source. As far as I'm concerned, if it requires a compiler to install then it's not actually released and doesn't actually exist yet. -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 "If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of every one, and the receiver cannot dispossess himself of it." -- Thomas Jefferson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Recommendations for PHP debuggers?
Larry Garfield wrote: On Tuesday 22 August 2006 03:33, Colin Guthrie wrote: Larry Garfield wrote: http://www.zend.com/phpide/ I just tried to install the modular version for my existing Eclipse install. It insists it won't install without feaure org.eclipse.emf (2.2.0). Since it provides no indication of how to get such feature, I haven't been able to give it a serious look. :-) Yeah it took me a while to find all the dependancies myself hense why I said the tarball was easier for takign it for a whirl, but seeing as my own stubornness meant I found all the necessary updates I figured I'd post them ;) Thanks, but even with that list it didn't work. I kept getting "could not find" errors while trying to install most of those extra components. snip I remember hearing that Zend was planning on making their next version of ZDE Eclipse-based. If that's the case and this is the early release of it, well, it's been nice knowing you Zend. All the bad parts of Eclipse with none of the good parts of ZDE. And I didn't even get to the debugger yet. Thanks for such a detailed response. I've not used ZDE so I can't really compare it to how things work with the Eclipse side of things. It really helped me, so thanks. So unless someone has a better idea, I'm back to Kate and a terminal window. :-) That's the setup I always seem to revert to too!! Can't help but love Kate, if only it had some sort of code completion I'd be a happy camper... Col. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Recommendations for PHP debuggers?
On Tuesday 22 August 2006 03:33, Colin Guthrie wrote: > Larry Garfield wrote: > >> http://www.zend.com/phpide/ > > > > I just tried to install the modular version for my existing Eclipse > > install. It insists it won't install without feaure org.eclipse.emf > > (2.2.0). Since it provides no indication of how to get such feature, I > > haven't been able to give it a serious look. :-) > > Yeah it took me a while to find all the dependancies myself hense why I > said the tarball was easier for takign it for a whirl, but seeing as my > own stubornness meant I found all the necessary updates I figured I'd > post them ;) Thanks, but even with that list it didn't work. I kept getting "could not find" errors while trying to install most of those extra components. So, I downloaded the all-in-one tarball to give it a try. Turns out that it's Eclipse 3.2 while I have 3.1 (which is the latest in Debian Sid). Not sure if that was the problem with the piecemeal approach. Anyway, in short, PHP IDE is Zend Studio partially ported to Eclipse. Unfortunately, it is lacking all of the things about Zend Studio that I like; the fast response time (to be fair, my work computer is substantially faster than my home computer), the near-instant code assistance (it was still barely there), the syntax highlighting (it has it, but it's broken and gets confused by variables inside strings. Oops), the simple project setup (Eclpise projects are so damned heavy!)... Yeah, nothing to see here. Moreover, I couldn't get it to hook up to an external include path. That meant I couldn't get PEAR to link up to my project at all. It was listed in the include paths, but somehow that fact never made it to the built in code runner. Even after I manually added it in-code with set_include_path(), it couldn't connect to my database. The DB works, and the exact same code run on the command line works fine, but it wouldn't talk to the database. My guess is that the included PHP executable doesn't have MySQL installed. So, I tried hooking it up to my existing /usr/bin/php. After eventually figuring out how to do that (it's a bit screwy), I tried running the program and got no output at all, in any of the various output or console or debug screens. Score! (And yes, the program should have been generating lots of output.) I remember hearing that Zend was planning on making their next version of ZDE Eclipse-based. If that's the case and this is the early release of it, well, it's been nice knowing you Zend. All the bad parts of Eclipse with none of the good parts of ZDE. And I didn't even get to the debugger yet. So unless someone has a better idea, I'm back to Kate and a terminal window. :-) -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 "If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of every one, and the receiver cannot dispossess himself of it." -- Thomas Jefferson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Recommendations for PHP debuggers?
On Tuesday 22 August 2006 00:26, Lester Caine wrote: > Larry Garfield wrote: > > I'm watching this thread closely myself, as I'd love something to use at > > home (on Linux) that doesn't cost what Zend does. :-) Currently I use > > PHPeclipse, but it is frankly not that good (the code assistance feature > > is rudimentary at best), and I've not setup the debugger yet. That, and > > Eclipse itself is just a dog slow memory hog. > > It would have been nice if PHPEclipse had been given the support it > needed to become the 'preferred' PHP addon for Eclipse rather than being > kneecapped by Zend who only want to promote their commercial interests. > > PHPEclipse does it's job well, and is much more feature rich than > PDP-IDE. Had a little more support been given then we would have a > totally free IDE and would not be waiting for features that still need > to be written in PHP-IDE :( > > I switched to PHPEclipse some time ago, and it does all that I need. I > had a debugger working at one time, but now all the 'debugging' is done > via inline functions rather than having to knobbly operation with an > external tool. I've not had to 'single step' a module for some time ;) Whether it's PHPEclipse or Eclipse itself I don't know, but in ZDE I get code completion for every core function/class and every function/class/method in the current project virtually instantly. It's so rare for me to see any sort of code completion in PHPEclipse that it usually gets in my way more than anything else, and it's keyboard interaction is very intrusive. OK, I know I'm coming from the top so I expect a great deal, but at this point Kate seems like a better option. :-) (I'll try to get the PHP-IDE thing to work again when I"ve more time and see how it goes.) -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 "If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of every one, and the receiver cannot dispossess himself of it." -- Thomas Jefferson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Recommendations for PHP debuggers?
Larry Garfield wrote: http://www.zend.com/phpide/ I just tried to install the modular version for my existing Eclipse install. It insists it won't install without feaure org.eclipse.emf (2.2.0). Since it provides no indication of how to get such feature, I haven't been able to give it a serious look. :-) Yeah it took me a while to find all the dependancies myself hense why I said the tarball was easier for takign it for a whirl, but seeing as my own stubornness meant I found all the necessary updates I figured I'd post them ;) I'm sure you'll be able to work it out from here, or incorporate the xml below into your own ~/.eclipse/org.eclipse.platform_3.2.0-mdk/configuration/org.eclipse.update/bookmarks.xml file. ;) http://downloads.zend.com/phpide"; web="false" selected="false" local="false"/> url="http://download.eclipse.org/tools/emf/updates/"; web="false" selected="false" local="false"/> url="http://download.eclipse.org/tools/gef/updates/"; web="false" selected="false" local="false"/> url="http://www.mirrorservice.org/sites/download.eclipse.org/eclipseMirror/tools/ve/updates/1.0"; web="false" selected="false" local="f alse"/> url="http://download.eclipse.org/webtools/updates/"; web="false" selected="false" local="false"/> url="http://www.polarion.org/projects/subversive/download/update-site/"; web="false" selected="true" local="false"/> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Recommendations for PHP debuggers?
Larry Garfield wrote: I'm watching this thread closely myself, as I'd love something to use at home (on Linux) that doesn't cost what Zend does. :-) Currently I use PHPeclipse, but it is frankly not that good (the code assistance feature is rudimentary at best), and I've not setup the debugger yet. That, and Eclipse itself is just a dog slow memory hog. It would have been nice if PHPEclipse had been given the support it needed to become the 'preferred' PHP addon for Eclipse rather than being kneecapped by Zend who only want to promote their commercial interests. PHPEclipse does it's job well, and is much more feature rich than PDP-IDE. Had a little more support been given then we would have a totally free IDE and would not be waiting for features that still need to be written in PHP-IDE :( I switched to PHPEclipse some time ago, and it does all that I need. I had a debugger working at one time, but now all the 'debugging' is done via inline functions rather than having to knobbly operation with an external tool. I've not had to 'single step' a module for some time ;) -- Lester Caine - G8HFL - L.S.Caine Electronic Services - http://home.lsces.co.uk Model Engineers Digital Workshop - http://home.lsces.co.uk/ModelEngineersDigitalWorkshop/ Treasurer - Firebird Foundation Inc. - http://www.firebirdsql.org/index.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Recommendations for PHP debuggers?
On Monday 21 August 2006 09:52, Colin Guthrie wrote: > Larry Garfield wrote: > > I'm watching this thread closely myself, as I'd love something to use at > > home (on Linux) that doesn't cost what Zend does. :-) Currently I use > > PHPeclipse, but it is frankly not that good (the code assistance feature > > is rudimentary at best), and I've not setup the debugger yet. That, and > > Eclipse itself is just a dog slow memory hog. > > Did you look at this? I posted it earlier and although I've not hooked > up the debugger, AFAIK it's free (but provided by Zend), so it should > suit you nicely (except that you'll still need that extra gig of ram to > run eclipse ;)) > > http://www.zend.com/phpide/ I just tried to install the modular version for my existing Eclipse install. It insists it won't install without feaure org.eclipse.emf (2.2.0). Since it provides no indication of how to get such feature, I haven't been able to give it a serious look. :-) -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 "If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of every one, and the receiver cannot dispossess himself of it." -- Thomas Jefferson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Recommendations for PHP debuggers?
Hello, Just use xdebug www.xdebug.org It's nice, and IDE independant. It also generate code profile (in case you need to optimise) Has far has IDE wise. I know Komodo use xdebug for it's debugger and code step trough, so it must be good. If you have more questions regarding xdebug let me know. I will try to answer. Cheers. Yann On Sunday 20 August 2006 23:55, Dave M G wrote: > PHP List, > > For the last month I have been using Zend Studio and Zend Platform on > the one month trial period. It works well enough that I was considering > purchasing it. > > But it's only now that I realize that the one feature that makes it > worthwhile for me, the "debug server" option, is only available in the > professional edition. > > I'm just a lone PHP programmer doing web pages for mainly non-profit > (not charitable, just extremely cash poor) organizations. The difference > between the 100 US dollar standard edition and the 300 US dollar > professional edition is a deal breaker. > > So I'm looking around for other debugging options. > > The best contender so far has been Quanta with the Gubed plug in. But it > is buggy, and while I've had success in running it, I've also had as > much trouble. Especially with some error messages that won't go away: > http://forum.gubed.mccabe.nu/viewtopic.php?t=396&sid=5b76626496aab99293e062 >c494a7af2e > > After that PHPeclipse seems good. By "seems" I mean that I've installed > Eclipse and PHPeclipse and can run them and see they have a sexy > interface and all. But trying to download the DBG package that makes > PHPeclipse interface with the server is near impossible. > > As I'm an Ubuntu user, I tried looking up distro-specific instructions > for installing DBG, and the one forum entry on the topic I found: > http://www.ubuntuforums.org/showthread.php?t=6672 > ... says to go to this web page: > http://www.phpeclipse.de/tiki-index.php?page=DbgBasedDebugger > ... where the installation instructions are for Windows! > > There's also a package called "NuSphere", which is paid software, but > also rests on the DBG debugger technology. I'm very hesitant to > encounter the same difficulties in installing DBG and having to pay for > it as well. > > I asked once before on this list about which PHP editors people > recommend, which is how I heard of Eclipse. > > However, now I'm asking: > > Does anyone know how to get a reliable PHP graphical debugger to > actually install and work on Linux? > > Any tutorials or instructions available anywhere that are newbie > friendly? After all, aren't the newbies the ones most likely to be the > ones to use a GUI debugger? > > Any advice or help would be greatly appreciated. > > Thank you for your time. > > -- > Dave M G > Ubuntu 6.06 LTS > Kernel 2.6.17.7 > Pentium D Dual Core Processor > PHP 5, MySQL 5, Apache 2 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Recommendations for PHP debuggers?
How is this different then what they try and sell you for $249. I have eclipse for Java development, and was looking at Zends package for PHP development, but if they are basically selling me the same thing then I would go with eclipse. On 8/21/06, Colin Guthrie <[EMAIL PROTECTED]> wrote: Larry Garfield wrote: > I'm watching this thread closely myself, as I'd love something to use at home > (on Linux) that doesn't cost what Zend does. :-) Currently I use PHPeclipse, > but it is frankly not that good (the code assistance feature is rudimentary > at best), and I've not setup the debugger yet. That, and Eclipse itself is > just a dog slow memory hog. Did you look at this? I posted it earlier and although I've not hooked up the debugger, AFAIK it's free (but provided by Zend), so it should suit you nicely (except that you'll still need that extra gig of ram to run eclipse ;)) http://www.zend.com/phpide/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Recommendations for PHP debuggers?
Larry Garfield wrote: I'm watching this thread closely myself, as I'd love something to use at home (on Linux) that doesn't cost what Zend does. :-) Currently I use PHPeclipse, but it is frankly not that good (the code assistance feature is rudimentary at best), and I've not setup the debugger yet. That, and Eclipse itself is just a dog slow memory hog. Did you look at this? I posted it earlier and although I've not hooked up the debugger, AFAIK it's free (but provided by Zend), so it should suit you nicely (except that you'll still need that extra gig of ram to run eclipse ;)) http://www.zend.com/phpide/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Recommendations for PHP debuggers?
I use the Zend IDE at work, and honestly I love just about everything about it except the price. The setup can be tricky, but I'm an IT guy so it didn't take weeks, just an hour or two with our company server. :-) Having used both the real time debugger and print-method (sometimes fancily called instrumentation), I can say that both are useful, and both are different things. I currently have hefty debugging facilities built into the CMS at work for print-style debugging, in addition to making heavy use of the real time debugger in Zend. I'm watching this thread closely myself, as I'd love something to use at home (on Linux) that doesn't cost what Zend does. :-) Currently I use PHPeclipse, but it is frankly not that good (the code assistance feature is rudimentary at best), and I've not setup the debugger yet. That, and Eclipse itself is just a dog slow memory hog. On Monday 21 August 2006 01:47, Dave M G wrote: > Paul, Robert, > > Thank you for replying and for your recomendations. > > While looking into PHP debuggers, I've often come across mention of > simply using functions like var_dump() and print_r(). > > But unless I misunderstand the concept, one has to be always writing > these commands into the code, see what they do, and then take them out > again when you actually want the code to run as you intend it to be seen. > > And I don't see how you can do things like watch variables or set break > points. Again, unless I don't see it, to watch a variable through many > steps of a script, you'd have to place a var_dump() at each juncture, > run the whole script, and pick through the output afterwards. If you > have arrays which many elements - $_SERVER usually has about 30 or more > - that could be quite a lot of text dumped to the screen. > > While I can see that this approach would work, it also seems to me to > involve much more manual labour. > > In the end, it may just be a personal thing. I'm much more of a graphics > guy who wants to do some more stuff with his web pages than a hard core > coder. I prefer a more GUI approach to development. > > Zend didn't really wow me. It took weeks of back and forth with their > support to finally get it up to speed. I'll give them credit for having > very friendly and responsive support staff. But I would have much rather > not needed to use their support so much. > > But I'd rather that then have to have to build my own set of error > handlers, which would themselves need constant tweaking, especially as > I'm a newbie. > > -- > Dave M G > Ubuntu 6.06 LTS > Kernel 2.6.17.7 > Pentium D Dual Core Processor > PHP 5, MySQL 5, Apache 2 -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 "If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of every one, and the receiver cannot dispossess himself of it." -- Thomas Jefferson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Recommendations for PHP debuggers?
On 21 Aug 2006, at 04:55, Dave M G wrote: So I'm looking around for other debugging options. One oft-overlooked option: xdebug.org. It enhances PHP's built-in debugging features enormously, adds profiling, trace and coverage logging, remote debugging too. The improved readability of stack traces alone makes it worthwhile IMHO. Marcus -- Marcus Bointon Synchromedia Limited: Creators of http://www.smartmessages.net/ [EMAIL PROTECTED] | http://www.synchromedia.co.uk/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Recommendations for PHP debuggers?
Marcus Bointon wrote: On 21 Aug 2006, at 04:55, Dave M G wrote: So I'm looking around for other debugging options. One oft-overlooked option: xdebug.org. It enhances PHP's built-in debugging features enormously, adds profiling, trace and coverage logging, remote debugging too. The improved readability of stack traces alone makes it worthwhile IMHO. Be warned tho'. I have had several odd apache crashes when running PHP as a module with xdebug installed. Totally inexplicable and very confusing (not to mention it took me a while to be able to run httpd via gdb successfully!) If you're using PHP Eclipse, it may be worth looking at the Zend alternative Eclipse plugin. I've not hooked up the debugger yet, but it /should/ be good if it's from Zend. http://www.zend.com/phpide/ PS the all-in-one package is probably easier to get started with rather than your distro's Eclipse package (took me about an hour to get all the dependancies located and installed), tho' it does work either way. Col. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Recommendations for PHP debuggers?
Check out PHPEdit from http://www.waterproof.fr/products/PHPEdit/ It has an integrated debugger and is a lot cheaper than Zend Studio Pro. -- Tony Marston http://www.tonymarston.net http://www.radicore.org "Dave M G" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > PHP List, > > For the last month I have been using Zend Studio and Zend Platform on the > one month trial period. It works well enough that I was considering > purchasing it. > > But it's only now that I realize that the one feature that makes it > worthwhile for me, the "debug server" option, is only available in the > professional edition. > > I'm just a lone PHP programmer doing web pages for mainly non-profit (not > charitable, just extremely cash poor) organizations. The difference > between the 100 US dollar standard edition and the 300 US dollar > professional edition is a deal breaker. > > So I'm looking around for other debugging options. > > The best contender so far has been Quanta with the Gubed plug in. But it > is buggy, and while I've had success in running it, I've also had as much > trouble. Especially with some error messages that won't go away: > http://forum.gubed.mccabe.nu/viewtopic.php?t=396&sid=5b76626496aab99293e062c494a7af2e > > After that PHPeclipse seems good. By "seems" I mean that I've installed > Eclipse and PHPeclipse and can run them and see they have a sexy interface > and all. But trying to download the DBG package that makes PHPeclipse > interface with the server is near impossible. > > As I'm an Ubuntu user, I tried looking up distro-specific instructions for > installing DBG, and the one forum entry on the topic I found: > http://www.ubuntuforums.org/showthread.php?t=6672 > ... says to go to this web page: > http://www.phpeclipse.de/tiki-index.php?page=DbgBasedDebugger > ... where the installation instructions are for Windows! > > There's also a package called "NuSphere", which is paid software, but also > rests on the DBG debugger technology. I'm very hesitant to encounter the > same difficulties in installing DBG and having to pay for it as well. > > I asked once before on this list about which PHP editors people recommend, > which is how I heard of Eclipse. > > However, now I'm asking: > > Does anyone know how to get a reliable PHP graphical debugger to actually > install and work on Linux? > > Any tutorials or instructions available anywhere that are newbie friendly? > After all, aren't the newbies the ones most likely to be the ones to use a > GUI debugger? > > Any advice or help would be greatly appreciated. > > Thank you for your time. > > -- > Dave M G > Ubuntu 6.06 LTS > Kernel 2.6.17.7 > Pentium D Dual Core Processor > PHP 5, MySQL 5, Apache 2 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Recommendations for PHP debuggers?
Paul, Robert, Thank you for replying and for your recomendations. While looking into PHP debuggers, I've often come across mention of simply using functions like var_dump() and print_r(). But unless I misunderstand the concept, one has to be always writing these commands into the code, see what they do, and then take them out again when you actually want the code to run as you intend it to be seen. And I don't see how you can do things like watch variables or set break points. Again, unless I don't see it, to watch a variable through many steps of a script, you'd have to place a var_dump() at each juncture, run the whole script, and pick through the output afterwards. If you have arrays which many elements - $_SERVER usually has about 30 or more - that could be quite a lot of text dumped to the screen. While I can see that this approach would work, it also seems to me to involve much more manual labour. In the end, it may just be a personal thing. I'm much more of a graphics guy who wants to do some more stuff with his web pages than a hard core coder. I prefer a more GUI approach to development. Zend didn't really wow me. It took weeks of back and forth with their support to finally get it up to speed. I'll give them credit for having very friendly and responsive support staff. But I would have much rather not needed to use their support so much. But I'd rather that then have to have to build my own set of error handlers, which would themselves need constant tweaking, especially as I'm a newbie. -- Dave M G Ubuntu 6.06 LTS Kernel 2.6.17.7 Pentium D Dual Core Processor PHP 5, MySQL 5, Apache 2 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Recommendations for PHP debuggers?
On Mon, 2006-08-21 at 00:18 -0400, Robert Cummings wrote: > Are you sure you need a debugger? I find the best tools around for > debugging are echo(), print_r(), ob_(), and error_log(). Of course, > I use a function that wraps the print_r(), and ob_xxx() functions for > simplicity. I've never found a debugger for PHP to be particularly > useful. > Besides the above (and var_dump - if possible plus the PEAR Var_Dump package to make it more readable) I only really use XDebug (pecl install xdebug). I also use Ubuntu, and I have a copy of Zend Studio Pro, but I don't use the debugging functionality, as I find it a little counter intuitive. Best thing to do IMO, is set your error_reporting to E_ALL or E_STRICT and install xdebug. --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Recommendations for PHP debuggers?
Are you sure you need a debugger? I find the best tools around for debugging are echo(), print_r(), ob_(), and error_log(). Of course, I use a function that wraps the print_r(), and ob_xxx() functions for simplicity. I've never found a debugger for PHP to be particularly useful. Cheers, Rob. On Mon, 2006-08-21 at 12:55 +0900, Dave M G wrote: > PHP List, > > For the last month I have been using Zend Studio and Zend Platform on > the one month trial period. It works well enough that I was considering > purchasing it. > > But it's only now that I realize that the one feature that makes it > worthwhile for me, the "debug server" option, is only available in the > professional edition. > > I'm just a lone PHP programmer doing web pages for mainly non-profit > (not charitable, just extremely cash poor) organizations. The difference > between the 100 US dollar standard edition and the 300 US dollar > professional edition is a deal breaker. > > So I'm looking around for other debugging options. > > The best contender so far has been Quanta with the Gubed plug in. But it > is buggy, and while I've had success in running it, I've also had as > much trouble. Especially with some error messages that won't go away: > http://forum.gubed.mccabe.nu/viewtopic.php?t=396&sid=5b76626496aab99293e062c494a7af2e > > After that PHPeclipse seems good. By "seems" I mean that I've installed > Eclipse and PHPeclipse and can run them and see they have a sexy > interface and all. But trying to download the DBG package that makes > PHPeclipse interface with the server is near impossible. > > As I'm an Ubuntu user, I tried looking up distro-specific instructions > for installing DBG, and the one forum entry on the topic I found: > http://www.ubuntuforums.org/showthread.php?t=6672 > ... says to go to this web page: > http://www.phpeclipse.de/tiki-index.php?page=DbgBasedDebugger > ... where the installation instructions are for Windows! > > There's also a package called "NuSphere", which is paid software, but > also rests on the DBG debugger technology. I'm very hesitant to > encounter the same difficulties in installing DBG and having to pay for > it as well. > > I asked once before on this list about which PHP editors people > recommend, which is how I heard of Eclipse. > > However, now I'm asking: > > Does anyone know how to get a reliable PHP graphical debugger to > actually install and work on Linux? > > Any tutorials or instructions available anywhere that are newbie > friendly? After all, aren't the newbies the ones most likely to be the > ones to use a GUI debugger? > > Any advice or help would be greatly appreciated. > > Thank you for your time. > > -- > Dave M G > Ubuntu 6.06 LTS > Kernel 2.6.17.7 > Pentium D Dual Core Processor > PHP 5, MySQL 5, Apache 2 > -- .. | InterJinn Application Framework - http://www.interjinn.com | :: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Recommendations for PHP debuggers?
PHP List, For the last month I have been using Zend Studio and Zend Platform on the one month trial period. It works well enough that I was considering purchasing it. But it's only now that I realize that the one feature that makes it worthwhile for me, the "debug server" option, is only available in the professional edition. I'm just a lone PHP programmer doing web pages for mainly non-profit (not charitable, just extremely cash poor) organizations. The difference between the 100 US dollar standard edition and the 300 US dollar professional edition is a deal breaker. So I'm looking around for other debugging options. The best contender so far has been Quanta with the Gubed plug in. But it is buggy, and while I've had success in running it, I've also had as much trouble. Especially with some error messages that won't go away: http://forum.gubed.mccabe.nu/viewtopic.php?t=396&sid=5b76626496aab99293e062c494a7af2e After that PHPeclipse seems good. By "seems" I mean that I've installed Eclipse and PHPeclipse and can run them and see they have a sexy interface and all. But trying to download the DBG package that makes PHPeclipse interface with the server is near impossible. As I'm an Ubuntu user, I tried looking up distro-specific instructions for installing DBG, and the one forum entry on the topic I found: http://www.ubuntuforums.org/showthread.php?t=6672 ... says to go to this web page: http://www.phpeclipse.de/tiki-index.php?page=DbgBasedDebugger ... where the installation instructions are for Windows! There's also a package called "NuSphere", which is paid software, but also rests on the DBG debugger technology. I'm very hesitant to encounter the same difficulties in installing DBG and having to pay for it as well. I asked once before on this list about which PHP editors people recommend, which is how I heard of Eclipse. However, now I'm asking: Does anyone know how to get a reliable PHP graphical debugger to actually install and work on Linux? Any tutorials or instructions available anywhere that are newbie friendly? After all, aren't the newbies the ones most likely to be the ones to use a GUI debugger? Any advice or help would be greatly appreciated. Thank you for your time. -- Dave M G Ubuntu 6.06 LTS Kernel 2.6.17.7 Pentium D Dual Core Processor PHP 5, MySQL 5, Apache 2 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Debuggers on Windows Servers
Anyone out there running debuggers and profilers on your windows boxes? I'd like to start profiling some of my code and use some debuggers. Since we have dev sites on the same box with product sites, I wanted to make sure that before I ask our Sysadmin to install anything that they are stable and easy to install. Any suggetsions out there? Ones that I have run across, xdebug, DBG, Advanced PHP Debugger. Thanks, Mark
Re: [PHP] is there php debuggers or IDE under Linux?
Of course, you'll need a separate box for SME Server! Quoting Andrey Ivanov <[EMAIL PROTECTED]>: ### Hi, people. ### ### ### I've been trying setup dbg-2.11.5 under RedHat-7.3, but can't find ### dbg-client for this OS. ### Which php-debugger do you use under Linux? ### ### ### Thank you. ### ### ### -- ### PHP General Mailing List (http://www.php.net/) ### To unsubscribe, visit: http://www.php.net/unsub.php ### ### -- Richard Whitney * Transcend Development Producing the next phase of your internet presence. [EMAIL PROTECTED] * http://xend.net* 602-971-2791 * * * * * *__** _/ \___ * * / *\** */ * * \ **/\_ |\ / \_ / \ / \/\ / \ /\ / \ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] is there php debuggers or IDE under Linux?
I use a hardened release of Redhat called SME Server ( http://e-smith.org ) that works very nicely as a development environment. I also use it for my production server (40+ domains). The 5.5 release comes packaged with PHP v4.1.2 . The newest release 5.6 I am not sure what version of PHP it comes with but it's very easy to turn error reporting on and I use it a lot just for that. Forgive me if this is irrelevant - I am quite drunk! Quoting Andrey Ivanov <[EMAIL PROTECTED]>: ### Hi, people. ### ### I've been trying setup dbg-2.11.5 under RedHat-7.3, but can't find ### dbg-client for this OS. ### Which php-debugger do you use under Linux? ### ### Thank you. ### ### ### -- ### PHP General Mailing List (http://www.php.net/) ### To unsubscribe, visit: http://www.php.net/unsub.php ### ### -- Richard Whitney * Transcend Development Producing the next phase of your internet presence. [EMAIL PROTECTED] * http://xend.net* 602-971-2791 * * * * * *__** _/ \___ * * / *\** */ * * \ **/\_ |\ / \_ / \ / \/\ / \ /\ / \ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: is there php debuggers or IDE under Linux?
I didn't know a debugger was available? Then again, I'm no expert. However, as an aside note, rename your file to *.PHPS This will display your code in a readable, color-coded fashion, allowing you to decipher possible problems yourself. Newbie advice, but helps some. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] is there php debuggers or IDE under Linux?
Hi, people. I've been trying setup dbg-2.11.5 under RedHat-7.3, but can't find dbg-client for this OS. Which php-debugger do you use under Linux? Thank you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] is there php debuggers or IDE under Linux?
Hi, people. I've been trying setup dbg-2.11.5 under RedHat-7.3, but can't find dbg-client for this OS. Which php-debugger do you use under Linux? Thank you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Debuggers
What debuggers do you guys recommend? I've installed a trial copy of Zend IDE, but it seems a bit buggy to me, and I am having a hard time finding support for it (without payin $180 per incident!) I also have installed Komodo IDE, but I can't even get it to work! ARG My projects are getting complicated enough that a full-featured debugger would be helpful... -- == Grant Boggs http://www.cornersonesoftware.ws -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]