Code Comments
Programming Forum and web based access to our favorite programming groups."Rguy84" <ryan.benson@gmail.com> wrote in message news:40d38739-8e63-46f0-a644-cb4c61b9674d@i12g2000prf.googlegroups.com... > On Mar 12, 6:12 pm, "Freelancer71" <f93c0...@yahoo.com> wrote: > > Debug how? There isn't anything that will say error on line 2. You'll > have to echo variables or whatever to test. You can also use Eclipse > and download the PHP pack. By debug I mean execute the statements one by one or trace. Is that possible with eclipse? Is it free?
Post Follow-up to this messageFreelancer71 wrote: > "Rguy84" <ryan.benson@gmail.com> wrote in message > news:40d38739-8e63-46f0-a644-cb4c61b9674d@i12g2000prf.googlegroups.com... > > By debug I mean execute the statements one by one or trace. Is that > possible with eclipse? Is it free? It is so easy to find errors on php pages because a script that stops returns an error with the line number. Therefore the error is on that line or the line before, (like a missing semicolon at the end of the previous line). Each of the php structures are formed in small units and so may be commented out or run individually and as others have said echo can be used at each stage to show the variables. I'm not even using a local setup, I'm editing and posting to a distant server but it's still a simple process. I've done assembly language programming and there you do need step by step because errors don't return a line number, the program just doesn't work but php isn't like that, I don't see the need. Paul -- Add an underscore after the p to reply
Post Follow-up to this message..oO(Freelancer71) > >By debug I mean execute the statements one by one or trace. Is that possibl e >with eclipse? Is it free? There's the Zend Debugger and Xdebug, but I can't say much about them since I haven't used them yet. [url]http://www.google.de/search?num=25& q=eclipse+pdt+xdebug+OR+%22zend+debugger %22[/ur l] Micha
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.