From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Catonano Newsgroups: gmane.lisp.guile.user Subject: Re: Debug setup in emacs Date: Tue, 8 Sep 2020 08:15:50 +0200 Message-ID: References: <874kod3ygp.fsf@posteo.net> <87v9gpicf4.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19256"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Guile User To: Fredrik Salomonsson Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Tue Sep 08 08:16:23 2020 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kFWvW-0004u1-6B for guile-user@m.gmane-mx.org; Tue, 08 Sep 2020 08:16:22 +0200 Original-Received: from localhost ([::1]:49066 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFWvV-0001BD-5I for guile-user@m.gmane-mx.org; Tue, 08 Sep 2020 02:16:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37868) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFWvI-0001AT-S1 for guile-user@gnu.org; Tue, 08 Sep 2020 02:16:08 -0400 Original-Received: from mail-il1-x12c.google.com ([2607:f8b0:4864:20::12c]:35865) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kFWvD-0003sk-Ku for guile-user@gnu.org; Tue, 08 Sep 2020 02:16:08 -0400 Original-Received: by mail-il1-x12c.google.com with SMTP id p13so14315558ils.3 for ; Mon, 07 Sep 2020 23:16:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=02wCMLDyJyEfbvicXMZg1Ov5OeHiAL+TwZoMJVY+zCk=; b=reeE2a0fY+rxPX+C9OxWsJP8RbPY2D8IdEW/xAiz9s+nceFr2A94o6jsdfdDoKf2tf 9X+GSPRvSA0sWRytWLG4oK+ScxvXqpG9IXi0AbrO/ZFMC0Y8ABBhFMG3vpXC/VpGWQ5V hjW+wAiaRLtFhHJ4RkQpOMpHJdVEwFsvtosHL9NGDTkou0u9JCSjrY9/GcBAO4mfxZgi CCWUUt16rEdeZ1EON8haPRrmJ9DouedjK77PKLMWmLCgX9nNsaldbd6px05KuLmcxCCJ 29kcFlFcIN+WtNZOmOaxjulhXtGN5PZk29w2AObdrOwv07Kqtw7skgwDioM8VhoNHtAr ZPIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=02wCMLDyJyEfbvicXMZg1Ov5OeHiAL+TwZoMJVY+zCk=; b=K8fSUr7AgpIbnHPumRxOCLEDmeG/D9t1M8ntjWyW1y0Hs/aMXeVtMiDOXrCUIND+YT JuazrWpauGR69L67+wpq7t925yVRR4aKR4C9xRK29pJj1eRomEtpc+l30sePrLHI7HiA iSSSRpJwgcdPC6XYmsI8ptAM0BLAyuiahSPXtHRc5Of1QqspatJToC1b1jqFjfaRmA9n ZDiHZZfWV+mriAQCnhhI0V1yvUE8V++ew6O63IADcvUGyNfelkW4zGPXyCoeD+DjXS6I Y7THOU4KFA0Lu+a+Zq5l/y/T6ZxaaCAWiE+EL9ZNokSEg9sxVVqRRa0wJzQx0Kny1si4 D3YA== X-Gm-Message-State: AOAM530MgSpL2HH0LFG030emhGSSZyBKnoUvuRjE0Q9t1T/Ox55M0/UP 31FZdACU0fBj0nEeUdLag13wi9d+Jb0+kSOLDw== X-Google-Smtp-Source: ABdhPJw7i2WDSrTuwDda0hskzIvwW3czrdCz/sJGTZfU8R0fhVeGt5lhPGKfpE7ofJFBG3huX4tKl080bUS7+0fV5Ng= X-Received: by 2002:a92:6b04:: with SMTP id g4mr21850501ilc.203.1599545762351; Mon, 07 Sep 2020 23:16:02 -0700 (PDT) In-Reply-To: <87v9gpicf4.fsf@posteo.net> Received-SPF: pass client-ip=2607:f8b0:4864:20::12c; envelope-from=catonano@gmail.com; helo=mail-il1-x12c.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:16884 Archived-At: Hi Fredrik, Il giorno lun 7 set 2020 alle ore 22:01 Fredrik Salomonsson < plattfot@posteo.net> ha scritto: > > Thank you for pointing this out to me and the links to the blog posts. > > My pleasure =E2=98=BA And as a follup question. What do people use when debugging guile code? > > I don't debug much, personally I know some people have been using the "pk" procedure It displays the arguments you pass to it in the terminal and returns the same arguments, untouched So you can sprinkle it all around I've had my issues with it though I never tried with (format #f) as you suggested Also, there's the "trace tool (try "(help) in the repl to read about it) This is all I know Maybe someone else can chime in, here Also, I'm wondering if this issue doesn't deserve a thread on its own =F0= =9F=98=B6