You are here: Re: cleaner way to print stack traces? « PHP Programming Language « IT news, forums, messages
Re: cleaner way to print stack traces?

Posted by C. on 08/10/07 23:20

On 10 Aug, 21:08, "laredotorn...@zipmail.com"
<laredotorn...@zipmail.com> wrote:
> Hi,
>
> I'm using PHP 4.4.4 witih Apache 2 on Linux. I recently discovered
> the debug_backtrace() statement. However, when I run the command,
>
> var_dump(debug_backtrace());
>
> what is printed out is a mess. See below.

So write a program to format it nicely.

> What is a cleaner way of
> printing out stack traces. I like the way Java does it. Anyway to
> emulate that?

It doesn't - someone's written their own rendering tool to format it
nicely.

C.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация