From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7864 invoked from network); 9 Oct 2003 12:11:31 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 9 Oct 2003 12:11:31 -0000 Received: (qmail 26421 invoked by alias); 9 Oct 2003 12:11:07 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6666 Received: (qmail 26382 invoked from network); 9 Oct 2003 12:11:06 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 9 Oct 2003 12:11:06 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [195.135.220.2] by sunsite.dk (MessageWall 1.0.8) with SMTP; 9 Oct 2003 12:11:6 -0000 Received: from Hermes.suse.de (Hermes.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id 61CDE16C63D1 for ; Thu, 9 Oct 2003 14:10:08 +0200 (CEST) Date: Thu, 9 Oct 2003 14:10:08 +0200 From: Mads Martin Joergensen To: zsh-users@sunsite.dk Subject: Debugging a test Message-ID: <20031009121008.GD28237@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.4i 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? -- Mads Martin Joergensen, http://mmj.dk "Why make things difficult, when it is possible to make them cryptic and totally illogical, with just a little bit more effort?" -- A. P. J.