guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setting breakpoints at the repl


From: Jérémy Korwin-Zmijowski
Subject: Re: setting breakpoints at the repl
Date: Sun, 26 Dec 2021 23:40:30 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0

Le 20/12/2021 à 08:06, Jose A. Ortega Ruiz a écrit :
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

Hello Jao !

This is really great news and I will be happy to play with it. ;)

Cheers,

Jérémy

Attachment: OpenPGP_0x700F5E0CCBB2E2D1.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]