GNU bug report logs - #23043
breakpoints not honoured by guile master

Previous Next

Package: guile;

Reported by: Jan Nieuwenhuizen <janneke <at> gnu.org>

Date: Thu, 17 Mar 2016 16:49:02 UTC

Severity: normal

Done: Christopher Allan Webber <cwebber <at> dustycloud.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 23043 in the body.
You can then email your comments to 23043 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#23043; Package guile. (Thu, 17 Mar 2016 16:49:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jan Nieuwenhuizen <janneke <at> gnu.org>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Thu, 17 Mar 2016 16:49:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jan Nieuwenhuizen <janneke <at> gnu.org>
To: bug-guile <at> gnu.org
Subject: breakpoints not honoured by guile master
Date: Thu, 17 Mar 2016 17:40:59 +0100
[Message part 1 (text/plain, inline)]
Hi,

I am have resurrected my GNU-style file-line-column patch to make
Emacs's GUD work with Guile.  It only handles debug prompts at the
moment, I'm working on backtraces.  However, breakpoints do not
work for me.

Using the attached file, I set breakpoints in two ways, the
debugger does not stop.  It works with stable-2.0.

Here's what I do

    17:32:23 janneke <at> drakenvlieg:~/src/guile
    $ ~/guile-2.2/bin/guile -q
    GNU Guile 2.1.2-dirty
    Copyright (C) 1995-2014 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)> (load "debug.scm")
    ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
    ;;;       or pass the --no-auto-compile argument to disable.
    ;;; compiling /home/janneke/src/guile/debug.scm
    ;;; compiled /home/janneke/.cache/guile/ccache/2.2-LE-8-3.7/home/janneke/src/guile/debug.scm.go
    scheme@(guile-user)> ,break-at "/home/janneke/src/guile/debug.scm" 4
    Trap 0: Breakpoint at /home/janneke/src/guile/debug.scm:4.
    scheme@(guile-user)> ,break function
    Trap 1: Breakpoint at #<procedure function ()>.
    scheme@(guile-user)> (function)
    one
    two
    three
    scheme@(guile-user)>

it works with 2.0

    17:29:47 janneke <at> drakenvlieg:~/src/guile
    $ ~/guile-2.0/bin/guile -q
    GNU Guile 2.0.11.175-9044f-dirty
    Copyright (C) 1995-2016 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)> (load "debug.scm")
    ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
    ;;;       or pass the --no-auto-compile argument to disable.
    ;;; compiling /home/janneke/src/guile/debug.scm
    ;;; compiled /home/janneke/.cache/guile/ccache/2.0-LE-8-2.0/home/janneke/src/guile/debug.scm.go
    scheme@(guile-user)> ,break-at "/home/janneke/src/guile/debug.scm" 4
    Trap 0: Breakpoint at /home/janneke/src/guile/debug.scm:4.
    scheme@(guile-user)> ,break function
    Trap 1: Breakpoint at #<procedure function ()>.
    scheme@(guile-user)> (function)
    Trap 1: Breakpoint at #<procedure function ()>
    Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
    debug.scm:1:0:
    1:0       (define (function)
    scheme@(guile-user) [1]> ,finish
    one
    two
    Trap 0: Breakpoint at /home/janneke/src/guile/debug.scm:4
    Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
    debug.scm:3:2:
    3:2         (display "two\n")
    scheme@(guile-user) [1]>

Greetings, Jan

[debug.scm (application/octet-stream, attachment)]
[Message part 3 (text/plain, inline)]
-- 
Jan Nieuwenhuizen <janneke <at> gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | AvatarĀ®  http://AvatarAcademy.nl  

Reply sent to Christopher Allan Webber <cwebber <at> dustycloud.org>:
You have taken responsibility. (Wed, 26 Apr 2017 03:10:01 GMT) Full text and rfc822 format available.

Notification sent to Jan Nieuwenhuizen <janneke <at> gnu.org>:
bug acknowledged by developer. (Wed, 26 Apr 2017 03:10:02 GMT) Full text and rfc822 format available.

Message #10 received at 23043-done <at> debbugs.gnu.org (full text, mbox):

From: Christopher Allan Webber <cwebber <at> dustycloud.org>
To: Jan Nieuwenhuizen <janneke <at> gnu.org>
Cc: 23043-done <at> debbugs.gnu.org
Subject: Re: bug#23043: breakpoints not honoured by guile master
Date: Tue, 25 Apr 2017 22:09:46 -0500
I think that this was related to an earlier bug where the traps weren't
being tripped at all, which has been fixed (trace also wasn't working).

If I'm wrong, please reopen!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 24 May 2017 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 88 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.