From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Jose A. Ortega Ruiz" Newsgroups: gmane.lisp.guile.user Subject: setting breakpoints at the repl Date: Mon, 20 Dec 2021 07:06:07 +0000 Message-ID: <87zgovrc0w.fsf@gnus.jao.io> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37097"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) To: guile-user@gnu.org Cancel-Lock: sha1:zwWSTi6Ju1So2ijbDlHlvt7OtK4= Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Mon Dec 20 17:26:18 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 1mzLUQ-0009VP-3M for guile-user@m.gmane-mx.org; Mon, 20 Dec 2021 17:26:18 +0100 Original-Received: from localhost ([::1]:47504 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mzLUP-0003vN-0f for guile-user@m.gmane-mx.org; Mon, 20 Dec 2021 11:26:17 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54156) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzKIE-0006M4-Gn for guile-user@gnu.org; Mon, 20 Dec 2021 10:09:38 -0500 Original-Received: from ciao.gmane.io ([116.202.254.214]:56792) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzKHj-0000mQ-Tx for guile-user@gnu.org; Mon, 20 Dec 2021 10:09:25 -0500 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mzCmE-000376-6x for guile-user@gnu.org; Mon, 20 Dec 2021 08:08:06 +0100 X-Injected-Via-Gmane: http://gmane.org/ X-Attribution: jao X-Clacks-Overhead: GNU Terry Pratchett X-URL: Received-SPF: pass client-ip=116.202.254.214; envelope-from=guile-user@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 2 X-Spam_score: 0.2 X-Spam_bar: / X-Spam_report: (0.2 / 5.0 requ) HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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:17886 Archived-At: 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. —Edsger Dijkstra