Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Re: Debugging PHP
"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?



Report this thread to moderator Post Follow-up to this message
Old Post
Freelancer71
03-14-08 03:01 AM


Re: Debugging PHP
Freelancer71 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



Report this thread to moderator Post Follow-up to this message
Old Post
PaulB
03-14-08 09:07 AM


Re: Debugging PHP
..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

Report this thread to moderator Post Follow-up to this message
Old Post
Michael Fesser
03-14-08 01:00 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP Language archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 01:40 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.