From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.user Subject: Re: Stack traces Date: Fri, 19 May 2017 11:17:15 +0200 Message-ID: <87pof5mcis.fsf@pobox.com> References: <87h93wto3y.fsf_-_@gnu.org> <87mvdn4gam.fsf@dustycloud.org> <641f554a-3672-d71a-78cd-f32f5287f98d@hypermove.net> <34F40DF4-899A-4400-A2F6-820EFB3C66FD@gmail.com> <87efyjqt6c.fsf@pobox.com> <87vaoy709i.fsf@dustycloud.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1495185498 3478 195.159.176.226 (19 May 2017 09:18:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 19 May 2017 09:18:18 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: guile-user@gnu.org, Matt Wette To: Christopher Allan Webber Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri May 19 11:18:14 2017 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dBe33-0000ie-Ik for guile-user@m.gmane.org; Fri, 19 May 2017 11:18:14 +0200 Original-Received: from localhost ([::1]:57360 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBe37-0001AE-8l for guile-user@m.gmane.org; Fri, 19 May 2017 05:18:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43238) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBe2P-000188-M8 for guile-user@gnu.org; Fri, 19 May 2017 05:17:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dBe2L-0000lE-1X for guile-user@gnu.org; Fri, 19 May 2017 05:17:33 -0400 Original-Received: from pb-sasl1.pobox.com ([64.147.108.66]:58281 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dBe2K-0000j8-Tm for guile-user@gnu.org; Fri, 19 May 2017 05:17:28 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id F261885682; Fri, 19 May 2017 05:17:23 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=26wz11E+7Xno1YHUz3wuCfwhjbY=; b=jG9vOO gTM1gJu7l27JlIyOXezGNXft924aHGx+PangXsM6hpLwSvklBzS6MgguH1yBoNAR zBzelAav3vq2yf2Tvopfta0R4BcByFyAoZW3g0tcbUU/kwB93Q+lVH0XlVTCnTsc BGopyZ1FXqBeivTwmnjzhZPuA/ObmZRsSwD34= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=wHd7S+oIn1MB5obtvBJNT1pCKbqhc5ir U+PFWvybflAqc69/si7FPTRGN1gyX0Kzgj4Ju12ADKmdAB3MOypdIiT4vUFTqtbv fW7dxrc0peMSAM5xMwqMNByqk1RMiRWpMgkWZKYoiSwDyTurv1MBof/ynG5YoBTM LcLvKjt8X6A= Original-Received: from pb-sasl1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id EB5A785681; Fri, 19 May 2017 05:17:23 -0400 (EDT) Original-Received: from clucks (unknown [151.127.12.20]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl1.pobox.com (Postfix) with ESMTPSA id 0A3BE85680; Fri, 19 May 2017 05:17:22 -0400 (EDT) In-Reply-To: <87vaoy709i.fsf@dustycloud.org> (Christopher Allan Webber's message of "Thu, 18 May 2017 08:38:49 -0500") X-Pobox-Relay-ID: F7A5A452-3C73-11E7-A06D-9BB2D5707B88-02397024!pb-sasl1.pobox.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 64.147.108.66 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:13728 Archived-At: On Thu 18 May 2017 15:38, Christopher Allan Webber writes: > I frequently find that ,locals does not display much information... it > seems to be a toss-up whether the variables I need will be contained > in it, so I've reduced the amount I use the actual debugger system in > Guile a lot. A shame, because it seems really nice. This is related to the "basic register allocation" task from https://wingolog.org/archives/2016/02/04/guile-compiler-tasks. > But then I ran ,optimize, and that made it obvious what's happening: Ah, yes you might also have to disable partial evaluation. Note that ,optimize basically runs only partial evaluation and not the other phases of the compiler. > scheme@(guile-user)> ,optimize-less > scheme@(guile-user)> ,optimize-more Not a bad idea :) Probably should use the same mechanism as "guild compile"'s -O0, -O1, -O2 etc logic. Andy