RE: display_errors in DEV

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: ceo@xxxxxxxxx [mailto:ceo@xxxxxxxxx]
> Sent: Tuesday, October 21, 2008 11:33 AM
> To: php-general@xxxxxxxxxxxxx
> Subject:  display_errors in DEV
> 
> 
> Until recently, I've thought that display_errors in DEV was "good"
> 
> But as soon as you move into Ajax Web 2.0 world, it really doesn't cut
> it.
> 
> You'll never see the E_NOTICE and E_WARNING errors for Ajax, probably,
> and the whole thing might "just work" but you'll have plenty of buggy
> code.
> 
> I think it's time for the PHP team to recommend log_errors across the
> board.
> 
> What do you think?

Report via Javascript exceptions. If you're debugging with your browser
(i.e., Web Developer plug-in for Firefox, or even the plain, built-in
debuggers will do) you should be able to view the exception's message
and maybe even a stack trace if you set it up right.

Todd Boyd
Web Programmer

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux