Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Debugging a test



On Thu, Oct 09, 2003 at 02:10:08PM +0200, Mads Martin Joergensen wrote:
> Hello people,
> 
> When running V01zmodload.ztst in an environment with a profiling enabled
> gcc, zsh hangs burning 99.9% CPU. Adding an strace to the process gives
> no output at all.
> 
> So I was wondering how to enable some kind of debug info to the module
> in order to have it e.g. print how far it gets, in order to nail down
> what causes the loop?

If you've got it installed, try ltrace instead of strace.

-Dom



Messages sorted by: Reverse Date, Date, Thread, Author