From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan Nieuwenhuizen Newsgroups: gmane.lisp.guile.bugs Subject: bug#23043: breakpoints not honoured by guile master Date: Thu, 17 Mar 2016 17:40:59 +0100 Message-ID: <87mvpxawh0.fsf@drakenvlieg.flower> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1458233365 5768 80.91.229.3 (17 Mar 2016 16:49:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Mar 2016 16:49:25 +0000 (UTC) To: 23043@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Mar 17 17:49:13 2016 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1agb6j-0007dR-Pi for guile-bugs@m.gmane.org; Thu, 17 Mar 2016 17:49:10 +0100 Original-Received: from localhost ([::1]:36731 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agb6j-0004yi-93 for guile-bugs@m.gmane.org; Thu, 17 Mar 2016 12:49:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53121) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agb6f-0004y7-T9 for bug-guile@gnu.org; Thu, 17 Mar 2016 12:49:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1agb6c-0001mw-M7 for bug-guile@gnu.org; Thu, 17 Mar 2016 12:49:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54119) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agb6c-0001mr-JM for bug-guile@gnu.org; Thu, 17 Mar 2016 12:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1agb6c-0004kB-E0 for bug-guile@gnu.org; Thu, 17 Mar 2016 12:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Thu, 17 Mar 2016 16:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23043 X-GNU-PR-Package: guile X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.145823331618195 (code B ref -1); Thu, 17 Mar 2016 16:49:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Mar 2016 16:48:36 +0000 Original-Received: from localhost ([127.0.0.1]:51246 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1agb6C-0004jP-2q for submit@debbugs.gnu.org; Thu, 17 Mar 2016 12:48:36 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59827) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1agazA-0004YZ-7e for submit@debbugs.gnu.org; Thu, 17 Mar 2016 12:41:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1agaz1-00084h-PI for submit@debbugs.gnu.org; Thu, 17 Mar 2016 12:41:14 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:51869) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agaz1-00084b-Lk for submit@debbugs.gnu.org; Thu, 17 Mar 2016 12:41:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50749) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agaz0-00062p-60 for bug-guile@gnu.org; Thu, 17 Mar 2016 12:41:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1agayz-00083s-2N for bug-guile@gnu.org; Thu, 17 Mar 2016 12:41:10 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34332) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agays-00082X-8D; Thu, 17 Mar 2016 12:41:02 -0400 Original-Received: from peder.onsbrabantnet.nl ([88.159.206.46]:45369 helo=drakenvlieg.flower.peder.onsbrabantnet.nl) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1agayr-0006zT-Mp; Thu, 17 Mar 2016 12:41:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Thu, 17 Mar 2016 12:48:34 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:7988 Archived-At: --=-=-= Content-Type: text/plain 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@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 #. scheme@(guile-user)> (function) one two three scheme@(guile-user)> it works with 2.0 17:29:47 janneke@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 #. scheme@(guile-user)> (function) Trap 1: Breakpoint at # 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 --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=debug.scm Content-Transfer-Encoding: base64 KGRlZmluZSAoZnVuY3Rpb24pCiAgKGRpc3BsYXkgIm9uZVxuIikKICAoZGlzcGxheSAidHdvXG4i KQogIChkaXNwbGF5ICJ0aHJlZVxuIikpCg== --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.nl= =20=20 --=-=-=--