View previous topic :: View next topic |
Author |
Message |
cjc
Joined: 24 Dec 2002 Posts: 146 Location: New York
|
Posted: Wed Apr 30, 2003 12:05 am Post subject: Debugger? |
|
|
Out of curiousity, what PHP debugger are people using? |
|
Back to top |
|
 |
Mister44

Joined: 31 Oct 2002 Posts: 237 Location: Philadelphia, PA, USA
|
Posted: Wed Apr 30, 2003 1:46 am Post subject: |
|
|
echo |
|
Back to top |
|
 |
cjc
Joined: 24 Dec 2002 Posts: 146 Location: New York
|
Posted: Wed Apr 30, 2003 4:50 am Post subject: |
|
|
True. Actually, I was thinking of the cases where the php script won't compile because of some missing semi-colon or such. |
|
Back to top |
|
 |
Mister44

Joined: 31 Oct 2002 Posts: 237 Location: Philadelphia, PA, USA
|
Posted: Wed Apr 30, 2003 5:10 am Post subject: |
|
|
Code: | error_reporting = E_ALL & ~E_NOTICE
display_errors = Off
display_startup_errors = Off
log_errors = On
track_errors = On
error_log = /var/log/phperrors.log |
and in protected development directorties, I use .htaccess to turn display_errors on. |
|
Back to top |
|
 |
Ruud
Joined: 12 Oct 2002 Posts: 77
|
Posted: Wed Apr 30, 2003 1:25 pm Post subject: |
|
|
I have Apache, PHP and MySQL locally installed so I can test my scripts.
I use PHP Edit (free) to edit/debug scripts. 98% of the time scrolling to the line number which produced the error solves the problem right away but otherwise you can step through the execution of the script.
Ruud |
|
Back to top |
|
 |
cjc
Joined: 24 Dec 2002 Posts: 146 Location: New York
|
Posted: Wed Apr 30, 2003 3:29 pm Post subject: |
|
|
Yeah, I should have looked at the log file. Totally forgot: it would have solved my problem last night of finding the missing parenthesis.
I use vi as my editor. As you noted, 98% of the time, it's sufficient to just go to the line number -- which I now see is in the log file -- so I'll hold off on the more extensive IDE for now. Thanks for the recommendation! |
|
Back to top |
|
 |
Mister44

Joined: 31 Oct 2002 Posts: 237 Location: Philadelphia, PA, USA
|
Posted: Wed Apr 30, 2003 3:42 pm Post subject: |
|
|
I use ultraedit for my editor... the development version of PHPEdit looks very cool, but is horribly unstable on my desktop. (Win2K / fully patched) |
|
Back to top |
|
 |
GamerZ
Joined: 15 May 2002 Posts: 537 Location: Singapore
|
Posted: Wed Apr 30, 2003 4:08 pm Post subject: |
|
|
hehe i am using EditPlus2 _________________
++ GamerZ.Per.Sg - Complex Simplicity |
|
Back to top |
|
 |
|