From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: zx spectrumgomas Newsgroups: gmane.lisp.guile.user Subject: Re: setting breakpoints at the repl Date: Sat, 25 Dec 2021 13:58:22 +0100 Message-ID: References: <87zgovrc0w.fsf@gnus.jao.io> 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="20955"; mail-complaints-to="usenet@ciao.gmane.io" To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sat Dec 25 13:53:24 2021 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 1n16Y8-0005HY-0c for guile-user@m.gmane-mx.org; Sat, 25 Dec 2021 13:53:24 +0100 Original-Received: from localhost ([::1]:51502 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n16Y5-0007Ed-VQ for guile-user@m.gmane-mx.org; Sat, 25 Dec 2021 07:53:21 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59916) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n16Xo-0007Ck-Mr for guile-user@gnu.org; Sat, 25 Dec 2021 07:53:04 -0500 Original-Received: from [2a00:1450:4864:20::531] (port=45858 helo=mail-ed1-x531.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n16Xn-0005aK-0v for guile-user@gnu.org; Sat, 25 Dec 2021 07:53:04 -0500 Original-Received: by mail-ed1-x531.google.com with SMTP id j6so42586922edw.12 for ; Sat, 25 Dec 2021 04:52:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=fnImLfvTVGDHVoUYHoB99itznC6rNoESjqSWfiS3Ma8=; b=DITBSNIZz2WBzQp9VV/2SKm0maRZuHdg0XWHcMR5HuPCgfnCWxgkFFrK9z9ncPl34N GoWOUhlpmXuiUZA6wICA2WoRn5l4/lk1xHixDy1Qudrp/mg4w7MkEJXhqDJAjD7N9wC8 +yRYwEk/2MV2t6SsKIS0qU5dQMj1N+BxqM8up/j9y4KJdz9m3M5ikwmozmFd/YGexYMm t7I3J8pU2c4SRHGE5ZRfJ9kmb8B9aYY3Gk3KMgN0N2UGwR9J7M+fVPIFdTKbdgq99O6L gKE9PE9YLZIjSHNt3ljRkHsVaHBz0V1IVmxL1jv8tVIOuVAN1IVvangr6t+uOKnvS0VW xkgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=fnImLfvTVGDHVoUYHoB99itznC6rNoESjqSWfiS3Ma8=; b=ZOO+91E3VZ6HMJ9hMpZgKjTvrOHRNZCm+5kB05hF54jYgXdcN6wcGRHGuV+/MmdCuu 05rcQBIrkP1K+BPT5tyQEoaOp69tGG4d7gpj/Jl8TPPL20YsqV2rKHLtR40KUcdQ44ky 0vNjBwgXj8XU9N978Z2Oem7Yoz00cjlXTY1uOBq/LJybdvrrN2YwfeC5L0KRyOQljlBz VQbTXZtpOv4zhwOcAL5BZkuu7eFrG77D4jU6xVsC/by26bGK51DaSs6IOs5oYeyJRauw q4PtXjNPfNidsMgDcSk3Dx4QybnFbkpN1tYLMoDKPkPTsseL9OMx5Ezd7qoQBZwp5Mkk j2JQ== X-Gm-Message-State: AOAM530kli73zPYWq3bXZkfWfBTOjlLc8EOaFVXWRiQCVmtU7/gTIL7o RMT9uRnopcjX6hu3jScntp7pgdQLh/UaKZ+j196hUhaSvF4= X-Google-Smtp-Source: ABdhPJxM3CIl24VclRWKnBNniyI0YRwV47Csb5gAO1Dj74TiR0shzxiw76TSRcz0dlGdpPNl7apPnNcriPt/HK+n/w8= X-Received: by 2002:a17:907:6d8d:: with SMTP id sb13mr8252439ejc.132.1640436776046; Sat, 25 Dec 2021 04:52:56 -0800 (PST) In-Reply-To: <87zgovrc0w.fsf@gnus.jao.io> X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::531 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::531; envelope-from=spectrumgomas@gmail.com; helo=mail-ed1-x531.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 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:17909 Archived-At: Hello. I tried and I think it works if first you load foo.scm . I'm in Manjaro: $guile3.0 GNU Guile 3.0.7.72-dc7f1 > ,break-at-source "/home/spectrumgomas/foo.scm" 3 No procedures found at ~a:~a. "/home/spectrumgomas/foo.scm" 3 > (load "foo.scm") > ,break-at-source "foo.scm" 3 No procedures found at ~a:~a. "foo.scm" 3 > ,break-at-source "/home/spectrumgomas/foo.scm" 3 Trap 0: Breakpoint at /home/spectrumgomas/foo.scm:3 On Mon, Dec 20, 2021 at 5:26 PM Jose A. Ortega Ruiz wrote: > > Hi, > > I am working on improving the debugger interface for geiser-guile (the > main idea is to be able to send debugging meta-commands from the > *Geiser Dbg* buffer... there's something already in there in the HEAD > branches), but i am failing to understand how to set breakpoints at the > source level using ,break-at-source. Basically, every single time i try > to set one with something like > > ,break-at-source "/home/jao/foo.scm" 3 > > the REPL tells me back: > > While executing meta-command: > No procedures found at ~a:~a. "/home/jao/foo.scm" 3 > > I'm providing line numbers that fall inside procedure definitions (as > advised by the meta-command's doctring), but i'm still getting the same > error, no matter what. For instance, foo.scm above contains > > (define (foo x) > (display x) > (display x) ;; wanted a bp here > (display x) > (display x)) > > This is Guile 3.0.7, packaged by debian. > > I must be missing something obvious, but it's too late to drink more > coffee :) What is it? > > Thanks in advance! > jao > -- > Lisp has assisted a number of our most gifted fellow humans in > thinking previously impossible thoughts. =E2=80=94Edsger Dijkstra > > >