unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#27215: break-at-source doesn't seem to work
@ 2017-06-03 18:08 Maxim Cournoyer
  0 siblings, 0 replies; only message in thread
From: Maxim Cournoyer @ 2017-06-03 18:08 UTC (permalink / raw)
  To: 27215

Hello Guile!

I'm trying to get proficient at debugging Guile programs, and while
trying things I noticed that the ,break-at-source interactive command
doesn't seem to work. See the following Geiser session:

--8<---------------cut here---------------start------------->8---
GNU Guile 2.2.2
Copyright (C) 1995-2017 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guile-user)> ,m (guix scripts environment)
scheme@(guix scripts environment)> ,bs "/home/maxim/src/guix/scripts/environment.scm" 543
While executing meta-command:
ERROR: No procedures found at ~a:~a. "/home/maxim/src/guix/scripts/environment.scm" 543
scheme@(guix scripts environment)> ,break guix-environment
Trap 1: Breakpoint at #<procedure guix-environment args>.
--8<---------------cut here---------------end--------------->8---

There are two things to notice here:

1. The ,bs (break-at-source) command couldn't find the
(guix-environment) proceduce located exactly on line 543 of the
environment.scm file, although ,break guix-environment could.

2. The error message is not formatted right.

It might or might not be related to
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=26027 as suggested by
spk121 on #guile.

Maxim





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-06-03 18:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-03 18:08 bug#27215: break-at-source doesn't seem to work Maxim Cournoyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).