From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 13 05:11:19 2016 Received: (at submit) by debbugs.gnu.org; 13 Dec 2016 10:11:19 +0000 Received: from localhost ([127.0.0.1]:40133 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGk3L-0006Rp-9F for submit@debbugs.gnu.org; Tue, 13 Dec 2016 05:11:19 -0500 Received: from eggs.gnu.org ([208.118.235.92]:58681) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGk3J-0006Rb-0E for submit@debbugs.gnu.org; Tue, 13 Dec 2016 05:11:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGk3C-0006hg-JJ for submit@debbugs.gnu.org; Tue, 13 Dec 2016 05:11:11 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:55723) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cGk3C-0006hc-G2 for submit@debbugs.gnu.org; Tue, 13 Dec 2016 05:11:10 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49646) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGk3A-0003gQ-Qu for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 05:11:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGk37-0006fM-Le for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 05:11:08 -0500 Received: from omr-a017e.mx.aol.com ([204.29.186.68]:44728) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cGk37-0006eR-GE for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 05:11:05 -0500 Received: from mtaout-aaj01.mx.aol.com (mtaout-aaj01.mx.aol.com [172.27.3.205]) by omr-a017e.mx.aol.com (Outbound Mail Relay) with ESMTP id C7AF038000A3 for ; Tue, 13 Dec 2016 05:11:03 -0500 (EST) Received: from localhost (c-50-163-97-64.hsd1.ma.comcast.net [50.163.97.64]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mtaout-aaj01.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id 4A40838000086 for ; Tue, 13 Dec 2016 05:11:00 -0500 (EST) From: Live System User To: bug-gnu-emacs@gnu.org Subject: 25.1; Python debugger breakpoint error Date: Tue, 13 Dec 2016 05:10:03 -0500 Message-ID: <87k2b487ic.fsf@aol.com> MIME-Version: 1.0 Content-Type: text/plain x-aol-global-disposition: G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com; s=20150623; t=1481623863; bh=Fz2WnbMmCvaoY7fMqNTPITbaAT+dobFRc3RBIUT1e98=; h=From:To:Subject:Message-ID:Date:MIME-Version:Content-Type; b=J0i6a2rv7v/KMHXRlD18g/V0F0OV557GDiyXim4VMMJt47UDX41jz3UCaEkpGscup hb8WSvN4bESL0Id+H9d0++wbyPALXluXFPF7sIUhL3cUuEv2LX59wssFSEzw9u2BU2 PB8b4u9QLjARQfaapaNtDsBIdQzfLs58bY5KQ4Uo= x-aol-sid: 3039ac1b03cd584fc9345977 X-AOL-IP: 50.163.97.64 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Hi, When trying to debug a Python program, I get the following error when trying to set a breakpoint: 0. emaccs -Q & 1. C-x C-f test.py 2. From the menubar: Python->Debugger Run pdb (like this): python -m pdb test.py 3. Click on "Next Line" so I can see a source line 4. Cick on "Set Breakpoint" I now get the error: Wrong type argument: stringp, nil Turning on `debug-on-error' yields the same results. However, on the *Messages* buffer there is a little more information about the error: gud-format-command: Wrong type argument: stringp, nil How does one debug this problem further? Thanks. In GNU Emacs 25.1.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.20.9) of 2016-10-13 built on buildvm-05.phx2.fedoraproject.org Windowing system distributor 'Fedora Project', version 11.0.11803000 Configured using: 'configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-dbus --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3 --with-gpm=no --with-xwidgets build_alias=x86_64-redhat-linux-gnu host_alias=x86_64-redhat-linux-gnu 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' LDFLAGS=-Wl,-z,relro PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XWIDGETS Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Summary Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent messages: Scoring...done Sorting threads...done Generating summary...done Load-path shadows: None found. Features: (shadow emacsbug sendmail sort gnus-cite smiley ansi-color mm-archive mail-extr gnus-async gnus-bcklg qp gnus-ml disp-table cursor-sensor nndraft nnmh nndoc utf-7 rfc2104 nnfolder network-stream nsm starttls gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig mailcap nntp gnus-cache epa-file epa derived auth-source cl-seq eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core cl-macs gv sieve sieve-mode sieve-manage nnir gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source tls gnutls utf7 netrc parse-time gnus-spec gnus-int gnus-range message dired format-spec rfc822 mml mml-sec password-cache epg epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus gnus-ems wid-edit nnoo nnheader gnus-util mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting xwidget-internal move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 3415290 60696) (symbols 48 122996 45) (miscs 40 154 602) (strings 32 91188 15607) (string-bytes 1 3394373) (vectors 16 23139) (vector-slots 8 4832715 8719) (floats 8 367 785) (intervals 56 8533 172) (buffers 976 43) (heap 1024 153578 105539)) From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 13 06:37:23 2016 Received: (at submit) by debbugs.gnu.org; 13 Dec 2016 11:37:23 +0000 Received: from localhost ([127.0.0.1]:40180 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGlOd-0008QI-1I for submit@debbugs.gnu.org; Tue, 13 Dec 2016 06:37:23 -0500 Received: from eggs.gnu.org ([208.118.235.92]:51043) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGlOa-0008Q3-Mv for submit@debbugs.gnu.org; Tue, 13 Dec 2016 06:37:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGlOU-0004RK-8M for submit@debbugs.gnu.org; Tue, 13 Dec 2016 06:37:15 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37701) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cGlOU-0004RB-5B for submit@debbugs.gnu.org; Tue, 13 Dec 2016 06:37:14 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42002) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGlOS-0005Hp-Io for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 06:37:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGlOO-0004OK-GY for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 06:37:12 -0500 Received: from mout.kundenserver.de ([212.227.126.131]:57615) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cGlOO-0004NA-5N for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 06:37:08 -0500 Received: from [192.168.178.35] ([95.119.230.123]) by mrelayeu.kundenserver.de (mreue001 [212.227.15.167]) with ESMTPSA (Nemesis) id 0MazIw-1bwL632Y3O-00KQxJ for ; Tue, 13 Dec 2016 12:37:05 +0100 Subject: Re: bug#25194: 25.1; Python debugger breakpoint error To: bug-gnu-emacs@gnu.org References: <87k2b487ic.fsf@aol.com> From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Message-ID: Date: Tue, 13 Dec 2016 12:46:28 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.4.0 MIME-Version: 1.0 In-Reply-To: <87k2b487ic.fsf@aol.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:/4MDwd5kNWNQdAJmRe8J/6webZBRjWo8k/THH07TJTvG7rYyFqj VpT8sTL8BV/SPfMnN0Hf/OADHjkDsOdelb4BH3jwKIpT9k9J35g6WITIozJ/Nzmnu424HRt Nk9G6oYCN+EPUaYv8CHU8Bc425NsBkF1dTbEqB37harPqIEAj3Dt9/ZW2rmO9bRvaGgFVpR K4AMtPsdWdMHpNsQL06Yg== X-UI-Out-Filterresults: notjunk:1;V01:K0:DKIcDP8k6vk=:cESnE2xYQ6jJuuE/pvNsj+ 9Rt7aA+q+usifBSTPmHMRJ2EU+jrUnms7pEFZAiiafoSHN5O9Tm9gGGYEVxGMWIELKPK8nYMT w2TA1oz99M8xLNJu88MetTTPFf89cPN1o4vdBBwIJiJr95QgeM5hEfSHhacgXY16CqYlIgxtq GsQyQRA9Z1D9uKuuQfm+Cl3Kt1gxHI8BPsZ2eukzCJ9tbWIJKnGmKmX4nPXjoZ8mwUFVDM6IQ jPKPDt+HkdVkzR3jpKyoDegOukBpPOAjwye6whv9Su0Hz7wXyKOtErsYjHTLyhrCqHpTOlWN0 3nz578M+v1z1Lk3ZNICfrTczIBqKfkPOMjhBjKIn8KG3oyqpSu2NJ9Oe7qgVv2GWsbKM9pC8G Hg7+krMbRlPknTKfZR3Yyj8neuOYj7LorpKwXjUNkKWWXPxlc+i0t/UD8SDCXcsZyrBN+GgY5 kzVwb6VH34NAtwq8G6An/joL4h5BuG9iqBqKIGXA3Dt2OMiYOe8rQKrhMNdRWZVjYprCk5C0s vJc3l9x3771ugPjEq7y1fPkqTLoQS232cm0kXCJKVVdxxBeMz3gXHKUwqoVzsw/wBx3smHdFt d+6zal19vniEvGflbX+7qDffV/n5UKDIf5rjy76wy79QZbjAyMoqOFw5yxP/Sljvurc2wERIS KlwCFaaPqc/6U0JhyYOIKoRaIcCNhaZ51HrYZDd5oatTbxh/Zar2UG1/mtp1lzEbO0rooEjuy O91GhzMTPaqEzDf7 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) On 13.12.2016 11:10, Live System User wrote: > Hi, > > When trying to debug a Python program, I get the following > error when trying to set a breakpoint: > > 0. emaccs -Q & > > 1. C-x C-f test.py > > 2. From the menubar: Python->Debugger > > Run pdb (like this): python -m pdb test.py > > 3. Click on "Next Line" so I can see a source line > > 4. Cick on "Set Breakpoint" > > I now get the error: > > Wrong type argument: stringp, nil > > Turning on `debug-on-error' yields the same results. > However, on the *Messages* buffer there is a little more > information about the error: > > gud-format-command: Wrong type argument: stringp, nil > > How does one debug this problem further? > > Thanks. > > > > > In GNU Emacs 25.1.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.20.9) > of 2016-10-13 built on buildvm-05.phx2.fedoraproject.org > Windowing system distributor 'Fedora Project', version 11.0.11803000 > Configured using: > 'configure --build=x86_64-redhat-linux-gnu > --host=x86_64-redhat-linux-gnu --program-prefix= > --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr > --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc > --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 > --libexecdir=/usr/libexec --localstatedir=/var > --sharedstatedir=/var/lib --mandir=/usr/share/man > --infodir=/usr/share/info --with-dbus --with-gif --with-jpeg --with-png > --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3 > --with-gpm=no --with-xwidgets build_alias=x86_64-redhat-linux-gnu > host_alias=x86_64-redhat-linux-gnu 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g > -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 > -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 > -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 > -m64 -mtune=generic' LDFLAGS=-Wl,-z,relro > PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig' > > Configured features: > XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF GSETTINGS NOTIFY > ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB > TOOLKIT_SCROLL_BARS GTK3 X11 XWIDGETS > > Important settings: > value of $LANG: en_US.UTF-8 > value of $XMODIFIERS: @im=ibus > locale-coding-system: utf-8-unix > > Major mode: Summary > > Minor modes in effect: > tooltip-mode: t > global-eldoc-mode: t > electric-indent-mode: t > mouse-wheel-mode: t > tool-bar-mode: t > menu-bar-mode: t > file-name-shadow-mode: t > global-font-lock-mode: t > font-lock-mode: t > blink-cursor-mode: t > auto-composition-mode: t > auto-encryption-mode: t > auto-compression-mode: t > buffer-read-only: t > line-number-mode: t > transient-mark-mode: t > > Recent messages: > Scoring...done > Sorting threads...done > Generating summary...done > > Load-path shadows: > None found. > > Features: > (shadow emacsbug sendmail sort gnus-cite smiley ansi-color mm-archive > mail-extr gnus-async gnus-bcklg qp gnus-ml disp-table cursor-sensor > nndraft nnmh nndoc utf-7 rfc2104 nnfolder network-stream nsm starttls > gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art > mm-uu mml2015 mm-view mml-smime smime dig mailcap nntp gnus-cache > epa-file epa derived auth-source cl-seq eieio byte-opt bytecomp > byte-compile cl-extra cconv eieio-core cl-macs gv sieve sieve-mode > sieve-manage nnir gnus-sum gnus-group gnus-undo gnus-start gnus-cloud > nnimap nnmail mail-source tls gnutls utf7 netrc parse-time gnus-spec > gnus-int gnus-range message dired format-spec rfc822 mml mml-sec > password-cache epg epg-config mm-decode mm-bodies mm-encode mail-parse > rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader > gnus-win gnus gnus-ems wid-edit nnoo nnheader gnus-util mm-util help-fns > help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr mail-utils > time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks > lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset > image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode > prog-mode register page menu-bar rfn-eshadow timer select scroll-bar > mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham > georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao > korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech > european ethiopic indian cyrillic chinese charscript case-table epa-hook > jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice > loaddefs button faces cus-face macroexp files text-properties overlay > sha1 md5 base64 format env code-pages mule custom widget > hashtable-print-readable backquote dbusbind inotify dynamic-setting > system-font-setting font-render-setting xwidget-internal move-toolbar > gtk x-toolkit x multi-tty make-network-process emacs) > > Memory information: > ((conses 16 3415290 60696) > (symbols 48 122996 45) > (miscs 40 154 602) > (strings 32 91188 15607) > (string-bytes 1 3394373) > (vectors 16 23139) > (vector-slots 8 4832715 8719) > (floats 8 367 785) > (intervals 56 8533 172) > (buffers 976 43) > (heap 1024 153578 105539)) > > > Here it works calling just pdb test.py not "python -m"before From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 13 07:26:24 2016 Received: (at submit) by debbugs.gnu.org; 13 Dec 2016 12:26:24 +0000 Received: from localhost ([127.0.0.1]:40189 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGmA4-00015H-1f for submit@debbugs.gnu.org; Tue, 13 Dec 2016 07:26:24 -0500 Received: from eggs.gnu.org ([208.118.235.92]:33595) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGmA2-000154-AK for submit@debbugs.gnu.org; Tue, 13 Dec 2016 07:26:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGm9w-0002hG-9M for submit@debbugs.gnu.org; Tue, 13 Dec 2016 07:26:17 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:49220) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cGm9w-0002h7-66 for submit@debbugs.gnu.org; Tue, 13 Dec 2016 07:26:16 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52781) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGm9u-0006kp-Nz for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 07:26:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGm9r-0002f8-Hb for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 07:26:14 -0500 Received: from [195.159.176.226] (port=57722 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cGm9r-0002eb-B0 for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 07:26:11 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cGm9j-00034t-5J for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 13:26:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Live System User Subject: Re: bug#25194: 25.1; Python debugger breakpoint error Date: Tue, 13 Dec 2016 07:25:57 -0500 Lines: 49 Message-ID: <87d1gw817u.fsf@aol.com> References: <87k2b487ic.fsf@aol.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@blaine.gmane.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cancel-Lock: sha1:FpPiklDLmOvw3kga/BNUeG2kIHc= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Andreas Röhler writes: > On 13.12.2016 11:10, Live System User wrote: >> Hi, >> >> When trying to debug a Python program, I get the following >> error when trying to set a breakpoint: >> >> 0. emaccs -Q & >> >> 1. C-x C-f test.py >> >> 2. From the menubar: Python->Debugger >> >> Run pdb (like this): python -m pdb test.py >> >> 3. Click on "Next Line" so I can see a source line >> >> 4. Cick on "Set Breakpoint" >> >> I now get the error: >> Wrong type argument: stringp, nil >> >> Turning on `debug-on-error' yields the same results. >> However, on the *Messages* buffer there is a little more >> information about the error: >> >> gud-format-command: Wrong type argument: stringp, nil >> >> How does one debug this problem further? >> >> Thanks. >> [...] > > Here it works calling just > > pdb test.py > > not "python -m"before Normally, `pdb' is just a shell script that calls/execs the Python debugger containing: exec $python -m pdb $1 $2 $3 $4 $5 $6 $7 $8 $9 From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 13 10:45:07 2016 Received: (at 25194) by debbugs.gnu.org; 13 Dec 2016 15:45:07 +0000 Received: from localhost ([127.0.0.1]:40879 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGpGM-0007r1-Ni for submit@debbugs.gnu.org; Tue, 13 Dec 2016 10:45:06 -0500 Received: from omr-a002e.mx.aol.com ([204.29.186.56]:40659) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGpGK-0007qD-QZ for 25194@debbugs.gnu.org; Tue, 13 Dec 2016 10:45:05 -0500 Received: from mtaout-mbc01.mx.aol.com (mtaout-mbc01.mx.aol.com [172.26.221.141]) by omr-a002e.mx.aol.com (Outbound Mail Relay) with ESMTP id 53BDD380008B for <25194@debbugs.gnu.org>; Tue, 13 Dec 2016 10:44:59 -0500 (EST) Received: from localhost (c-50-163-97-64.hsd1.ma.comcast.net [50.163.97.64]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mtaout-mbc01.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id CE6CD38000081 for <25194@debbugs.gnu.org>; Tue, 13 Dec 2016 10:44:58 -0500 (EST) From: Live System User To: 25194@debbugs.gnu.org Subject: 25.1; Python debugger breakpoint error Date: Tue, 13 Dec 2016 10:44:27 -0500 Message-ID: <874m2796lg.fsf@aol.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable x-aol-global-disposition: G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com; s=20150623; t=1481643899; bh=FYvqUyP0ps8oy5MNp71pM3JXJPnNf35k3kYFojhnDRk=; h=From:To:Subject:Message-ID:Date:MIME-Version:Content-Type; b=qw25Vby07FMo6piOi9R+pKqrbmoBsFogcJ2KM1OYV7lE3DFaGUAEfiDYs0s2XgFOV 9xMSBbmoD/3rAteIGFoRgKnZ7RfeS4DcpiMrmoWnw8YRuhw9T3IIW1OUd15y1sk0z3 U2PQXrLzFd220NpC8GObVmvI/6qITINwAmRqGrXc= x-aol-sid: 3039ac1add8d5850177a43d2 X-AOL-IP: 50.163.97.64 X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: 25194 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.8 (---) Andreas R=C3=B6hler writes: > On 13.12.2016 11:10, Live System User wrote: >> Hi, >> >> When trying to debug a Python program, I get the following >> error when trying to set a breakpoint: >> >> 0. emaccs -Q & >> >> 1. C-x C-f test.py >> >> 2. From the menubar: Python->Debugger >> >> Run pdb (like this): python -m pdb test.py >> >> 3. Click on "Next Line" so I can see a source line >> >> 4. Cick on "Set Breakpoint" >> >> I now get the error: >> Wrong type argument: stringp, nil >> >> Turning on `debug-on-error' yields the same results. >> However, on the *Messages* buffer there is a little more >> information about the error: >> >> gud-format-command: Wrong type argument: stringp, nil >> >> How does one debug this problem further? >> >> Thanks. >>=20=20=20=20=20 [...] > > Here it works calling just > > pdb test.py > > not "python -m"before Normally, `pdb' is just a shell script (or an alias) that calls/execs the Python debugger containing something like: exec python -m pdb $1 $2 $3 $4 $5 $6 $7 $8 $9 So invoking "python -m test.py" from the prompt is equalivant and I can ust the commands (LIST, NEXT, etc) all the same. The problem I am having is setting breakpoints. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 13 10:59:46 2016 Received: (at submit) by debbugs.gnu.org; 13 Dec 2016 15:59:46 +0000 Received: from localhost ([127.0.0.1]:40888 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGpUY-0008DG-Ao for submit@debbugs.gnu.org; Tue, 13 Dec 2016 10:59:46 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34001) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGpUW-0008D2-AD for submit@debbugs.gnu.org; Tue, 13 Dec 2016 10:59:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGpUQ-0002zA-6E for submit@debbugs.gnu.org; Tue, 13 Dec 2016 10:59:39 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:41759) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cGpUQ-0002z5-2k for submit@debbugs.gnu.org; Tue, 13 Dec 2016 10:59:38 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53198) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGpUO-0004Zd-RD for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 10:59:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGpUK-0002xg-SD for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 10:59:36 -0500 Received: from mout.kundenserver.de ([217.72.192.74]:59053) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cGpUK-0002xA-HG for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 10:59:32 -0500 Received: from [192.168.178.35] ([95.119.230.123]) by mrelayeu.kundenserver.de (mreue102 [212.227.15.183]) with ESMTPSA (Nemesis) id 0LlnLU-1cqAEs2gOO-00ZMEh for ; Tue, 13 Dec 2016 16:59:30 +0100 Subject: Re: bug#25194: 25.1; Python debugger breakpoint error To: bug-gnu-emacs@gnu.org References: <87k2b487ic.fsf@aol.com> <87d1gw817u.fsf@aol.com> From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Message-ID: <2169ee72-c607-b55e-07d8-208297e300da@easy-emacs.de> Date: Tue, 13 Dec 2016 17:08:54 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.4.0 MIME-Version: 1.0 In-Reply-To: <87d1gw817u.fsf@aol.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:smW429G2llt/Qzm/iCBEe64IOOfWobOoquto3Gw65zJP/DU56Zb AAOQglX2YlTxW8XHz7IzGN286A/yTtsOFjuc5AZ+Vd6aZdhQ1m3NH9fY38ZsKca4tnWalPD 8+ir25yMfi6DaTCLzr/OLv+UptLgd4/YoEjyTgsgZBSMeqBG5nbchxQPQZeVy//xNSDXORe 5rk2WGtVFmxGP9ZCiQS0w== X-UI-Out-Filterresults: notjunk:1;V01:K0:YkDXo9BWraI=:bZezx5k94vdnYcvjfarypg VTCQf7/qxdlmPpWlNcjrhWQG6RDBan+iYeSiuZVJc/boJImDseoHLj4ThycS2Q/9a5bfyH99H 40MHL769HbnhxUVVPenJa37b1qOAYsD4Fe7woQ9ML8z+xCjjGA01gJmZUmHl1AtPJhqXfAhvA 3V90w08Z86vKlZiTwwT2lyNMab9+VAJUrxhn7bMDEdeVm1uKsvDJq74IUcZOrfVm+1DeqnfOO NwpFiUyQYftqahfspipRr3rYj/iJkM1rpKHaBCbX+AGrQF1QnPF75K6yXNSIPzDWn1KgkN+nE P+he/1yFsfvm3kiK2Tnxyo/Zb244cGj9St+AGmoDOMcrNXXLCL9hpD27PoGz/b+pOmdDWnVs2 b37iWwBVN3WCjeO/rOIKXXfPeLkpdE/Uom7NDszPoBFqzOh/Wp4C3XaVRpHYSVQl7Bh39NOGL 5zZW8MiKBuLntstWDxN2ZYjCZuwkzlZIQOMPN7juEtSO4P/wWRR21VIPpB3TB+oxhHz9wNh/0 poauHVoxmwHuWh8ytl44QohugOuVRf5K8Thdl4cZNH03TGevDUQYeJ57Z9ipE+y3mS9S/34Do OtwpHJte4C1nfDwIqHWiL33DwwWQgW9G7z9ET5vQaCt16s+duB516FPLo2ihH4bmc4GCqLojs cEktO0EqvVT35lU/c4aEz85OsvdW2QAErK77F8cTS6QpTC5a92qlFrzZZvJ3LQmzUNq5wQMd7 LBSeDbVyFwVaTJUU X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) On 13.12.2016 13:25, Live System User wrote: > Andreas Röhler writes: > >> On 13.12.2016 11:10, Live System User wrote: >>> Hi, >>> >>> When trying to debug a Python program, I get the following >>> error when trying to set a breakpoint: >>> >>> 0. emaccs -Q & >>> >>> 1. C-x C-f test.py >>> >>> 2. From the menubar: Python->Debugger >>> >>> Run pdb (like this): python -m pdb test.py >>> >>> 3. Click on "Next Line" so I can see a source line >>> >>> 4. Cick on "Set Breakpoint" >>> >>> I now get the error: >>> Wrong type argument: stringp, nil >>> >>> Turning on `debug-on-error' yields the same results. >>> However, on the *Messages* buffer there is a little more >>> information about the error: >>> >>> gud-format-command: Wrong type argument: stringp, nil >>> >>> How does one debug this problem further? >>> >>> Thanks. >>> > [...] >> Here it works calling just >> >> pdb test.py >> >> not "python -m"before > Normally, `pdb' is just a shell script that calls/execs > the Python debugger containing: > > exec $python -m pdb $1 $2 $3 $4 $5 $6 $7 $8 $9 > > > As described From the menubar: Python->Debugger That means being in an Emacs-buffer connected to Python-process in a special way. The command to insert must match the environment, but didn't. That's why "gud-format-command:" raised the error. IIUC `debug-on-error' adresses Emacs-lisp errors, not the Python-side. > > > > From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 13 11:06:55 2016 Received: (at 25194) by debbugs.gnu.org; 13 Dec 2016 16:06:55 +0000 Received: from localhost ([127.0.0.1]:40899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGpbT-0008OR-BJ for submit@debbugs.gnu.org; Tue, 13 Dec 2016 11:06:55 -0500 Received: from eggs.gnu.org ([208.118.235.92]:36193) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGpbS-0008OD-1O for 25194@debbugs.gnu.org; Tue, 13 Dec 2016 11:06:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGpbI-0005jm-Tg for 25194@debbugs.gnu.org; Tue, 13 Dec 2016 11:06:49 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46756) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGpbI-0005jh-QJ; Tue, 13 Dec 2016 11:06:44 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2215 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cGpbI-0002yH-51; Tue, 13 Dec 2016 11:06:44 -0500 Date: Tue, 13 Dec 2016 18:06:39 +0200 Message-Id: <83lgvjbypc.fsf@gnu.org> From: Eli Zaretskii To: Live System User In-reply-to: <87k2b487ic.fsf@aol.com> (message from Live System User on Tue, 13 Dec 2016 05:10:03 -0500) Subject: Re: bug#25194: 25.1; Python debugger breakpoint error References: <87k2b487ic.fsf@aol.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.1 (--------) X-Debbugs-Envelope-To: 25194 Cc: 25194@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -8.1 (--------) > From: Live System User > Date: Tue, 13 Dec 2016 05:10:03 -0500 > > 4. Cick on "Set Breakpoint" > > I now get the error: > > Wrong type argument: stringp, nil > > Turning on `debug-on-error' yields the same results. > However, on the *Messages* buffer there is a little more > information about the error: > > gud-format-command: Wrong type argument: stringp, nil > > How does one debug this problem further? Did you try debug-on-entry? From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 13 12:05:59 2016 Received: (at 25194) by debbugs.gnu.org; 13 Dec 2016 17:05:59 +0000 Received: from localhost ([127.0.0.1]:40943 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGqWd-0001JN-8D for submit@debbugs.gnu.org; Tue, 13 Dec 2016 12:05:59 -0500 Received: from omr-a009e.mx.aol.com ([204.29.186.49]:57890) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGqWc-0001J9-8m for 25194@debbugs.gnu.org; Tue, 13 Dec 2016 12:05:58 -0500 Received: from mtaout-aag01.mx.aol.com (mtaout-aag01.mx.aol.com [172.26.126.77]) by omr-a009e.mx.aol.com (Outbound Mail Relay) with ESMTP id 080C6380004C; Tue, 13 Dec 2016 12:05:53 -0500 (EST) Received: from localhost (c-50-163-97-64.hsd1.ma.comcast.net [50.163.97.64]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mtaout-aag01.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id 8A42938000093; Tue, 13 Dec 2016 12:05:49 -0500 (EST) From: Live System User To: Eli Zaretskii Subject: Re: bug#25194: 25.1; Python debugger breakpoint error References: <87k2b487ic.fsf@aol.com> <83lgvjbypc.fsf@gnu.org> Date: Tue, 13 Dec 2016 12:05:41 -0500 In-Reply-To: <83lgvjbypc.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 13 Dec 2016 18:06:39 +0200") Message-ID: <87zijz7o9m.fsf@aol.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain x-aol-global-disposition: G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com; s=20150623; t=1481648752; bh=if9IGuL7/f4Xn3mDIJdQoYtwhXD09TTM+PK4Lk7kfcU=; h=From:To:Subject:Message-ID:Date:MIME-Version:Content-Type; b=sYfkdwJqZrTVTG0ne9PyQeM+FZlmrzt4OyLaogNsgTPh4dGYbJMtag3GpHlDTFkvb pb/oeqse3ZxML2t8CTHIV6jvbx4PokyTu3a8pOjVzeCw00hasrgvIEa12At4EPAwIR bMSWfN1IfufUz8Dc3cdep5a1LdO9buMByqn5zNoA= x-aol-sid: 3039ac1a7e4d58502a6d5b7a X-AOL-IP: 50.163.97.64 X-Spam-Score: -3.1 (---) X-Debbugs-Envelope-To: 25194 Cc: 25194@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.1 (---) Eli Zaretskii writes: >> From: Live System User >> Date: Tue, 13 Dec 2016 05:10:03 -0500 >> >> 4. Cick on "Set Breakpoint" >> >> I now get the error: >> >> Wrong type argument: stringp, nil >> >> Turning on `debug-on-error' yields the same results. >> However, on the *Messages* buffer there is a little more >> information about the error: >> >> gud-format-command: Wrong type argument: stringp, nil >> >> How does one debug this problem further? > > Did you try debug-on-entry? Thanks! I never used this command before -- so I tried it: M-x debug-on-entry RET gud-break When trying to set a breakpoint, I got a *Backtrace*: Debugger entered--Lisp error: (wrong-type-argument stringp nil) file-name-directory(nil) gud-format-command("break %d%f:%l" 4) gud-call("break %d%f:%l" 4) #[257 "?\205 \301\302\"\207" [gud-running gud-call "break %d%f:%l"] 4 "Set breakpoint at current line.\n\n(fn ARG)" "p"](4) apply(#[257 "?\205 \301\302\"\207" [gud-running gud-call "break %d%f:%l"] 4 "Set breakpoint at current line.\n\n(fn ARG)" "p"] 4) gud-break(4) eval((gud-break 4) nil) eval-expression((gud-break 4) nil) funcall-interactively(eval-expression (gud-break 4) nil) call-interactively(eval-expression nil nil) command-execute(eval-expression) recursive-edit() debug(debug) debug--implement-debug-on-entry(1) apply(debug--implement-debug-on-entry 1) * gud-break(1) funcall-interactively(gud-break 1) call-interactively(gud-break nil nil) command-execute(gud-break) Thanks. From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 01 23:34:46 2017 Received: (at 25194) by debbugs.gnu.org; 2 Jan 2017 04:34:46 +0000 Received: from localhost ([127.0.0.1]:38957 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cNuKc-0004U9-8V for submit@debbugs.gnu.org; Sun, 01 Jan 2017 23:34:46 -0500 Received: from mail-io0-f175.google.com ([209.85.223.175]:32931) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cNuKZ-0004Tq-RP; Sun, 01 Jan 2017 23:34:44 -0500 Received: by mail-io0-f175.google.com with SMTP id d9so406394629ioe.0; Sun, 01 Jan 2017 20:34:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=JuICep7DqXhIgwUak2IbEDr+hj1RaDkp3yhRMdHuq5Q=; b=mjpedtFI5jd9a5VgNqL5w95VEtkL8UFD7fMP6sDxkSx58ifXEZLzVJpJSZe9r+SdSF XekAxxHUCYIxeol7bb4F/xtc8eGWqNcd+t2pP+VF3WBJgSzmww8HLU6cmqk4CbmEEXfd J92IZ3FWmmP5UevMatwKC9bSE24LCSAyA1HbWllNsk3lSvN+vgb0WOG7N1sigcxqJbuq SGSbkHREEhbIEJxkKJeNEZkTxSwC1l9PpkIhA1gpoApRruAxwk7sEbx8dhKr3fIrFYJK TWdvCFEREjSUbfvikPRyiV7kxVWAAVzgsqfssoXtMPLw1DhROM3R3AeutJ06Z8GoeWxG m2xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=JuICep7DqXhIgwUak2IbEDr+hj1RaDkp3yhRMdHuq5Q=; b=QE0JBcrJ/7l7sYvL9EKncnss3kTLFoSwG820p6eVuAaaYeRJXPhA5ZO44PvYuBkj3u xUaiS5Xzm5t3Q/u4wm+wyojdm5Ydk2TY0dUHGER2i7OcQeYY2xZ43FKkj3QGwtT/bDZv WDND2ZoHFjL4AWCtzX8fKD5zOzLRb4fs42pNKug0jP8Khv4yPRqyNeQY2esYi4ZtwvjM y8mh2M35gzp3xs1Ym4PbFvP1Hq2J2iriUD+7YEx5A+3qlgZNqpCCMZEMvsD45ApZgopb AdsICgDx0BRxgc19CsPZwVAjFfS4vqkLLoYXmSP8FpJ+Xx6gv3wXSO5iN8OxpGohgApB qZ+w== X-Gm-Message-State: AIkVDXJ58wLk+fPoeIHjfUfN8HJaEY8gx1IA2o46JcER04A5BanGSdeGK54tv/EsHYRp9A== X-Received: by 10.107.142.2 with SMTP id q2mr43025773iod.128.1483331678200; Sun, 01 Jan 2017 20:34:38 -0800 (PST) Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id 22sm31466704iog.28.2017.01.01.20.34.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 01 Jan 2017 20:34:37 -0800 (PST) From: npostavs@users.sourceforge.net To: Live System User Subject: Re: bug#25194: 25.1; Python debugger breakpoint error References: <87k2b487ic.fsf@aol.com> <83lgvjbypc.fsf@gnu.org> <87zijz7o9m.fsf@aol.com> Date: Sun, 01 Jan 2017 23:35:40 -0500 In-Reply-To: <87zijz7o9m.fsf@aol.com> (Live System User's message of "Tue, 13 Dec 2016 12:05:41 -0500") Message-ID: <87d1g66pur.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.6 (/) X-Debbugs-Envelope-To: 25194 Cc: 25194@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.6 (/) tags 25194 unreproducible quit Live System User writes: > > I never used this command before -- so I tried it: > > M-x debug-on-entry RET gud-break > > When trying to set a breakpoint, I got a *Backtrace*: > > Debugger entered--Lisp error: (wrong-type-argument stringp nil) > file-name-directory(nil) > gud-format-command("break %d%f:%l" 4) It looks like buffer-file-name-localized in gud-format-command is nil for you, though I don't see how that's possible and I can't reproduce this here. (defun gud-format-command (str arg) (let ((insource (not (eq (current-buffer) gud-comint-buffer))) (frame (or gud-last-frame gud-last-last-frame)) (buffer-file-name-localized (and (buffer-file-name) (or (file-remote-p (buffer-file-name) 'localname) (buffer-file-name)))) ... ((eq key ?d) (setq subst (file-name-directory (if insource buffer-file-name-localized (car frame)))) From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 21 17:21:15 2017 Received: (at control) by debbugs.gnu.org; 21 Jul 2017 21:21:16 +0000 Received: from localhost ([127.0.0.1]:51680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYfMJ-0002YC-Ns for submit@debbugs.gnu.org; Fri, 21 Jul 2017 17:21:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49554) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYfMI-0002Xy-3J for control@debbugs.gnu.org; Fri, 21 Jul 2017 17:21:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dYfMC-0003fF-GC for control@debbugs.gnu.org; Fri, 21 Jul 2017 17:21:09 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35496) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dYfMC-0003fB-DV for control@debbugs.gnu.org; Fri, 21 Jul 2017 17:21:08 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1dYfMC-0001E9-6u for control@debbugs.gnu.org; Fri, 21 Jul 2017 17:21:08 -0400 Subject: control message for bug 25194 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Fri, 21 Jul 2017 17:21:08 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) tag 25194 wontfix close 25194 From unknown Fri Aug 15 15:38:37 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 19 Aug 2017 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator