From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andreas =?UTF-8?Q?R=C3=B6hler?= Newsgroups: gmane.emacs.bugs Subject: bug#25194: 25.1; Python debugger breakpoint error Date: Tue, 13 Dec 2016 12:46:28 +0100 Message-ID: References: <87k2b487ic.fsf@aol.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1481629102 24860 195.159.176.226 (13 Dec 2016 11:38:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 13 Dec 2016 11:38:22 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.4.0 To: 25194@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 13 12:38:18 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGlPR-00048f-HD for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Dec 2016 12:38:13 +0100 Original-Received: from localhost ([::1]:37503 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGlPR-0005JR-0s for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Dec 2016 06:38:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42169) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGlPL-0005JM-4z for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 06:38:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGlPG-0004iG-S3 for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 06:38:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53014) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cGlPG-0004i8-Nn for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 06:38:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cGlPG-0008RH-IJ for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 06:38:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Dec 2016 11:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25194 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.148162904332386 (code B ref -1); Tue, 13 Dec 2016 11:38:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Dec 2016 11:37:23 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 In-Reply-To: <87k2b487ic.fsf@aol.com> 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-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-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:126978 Archived-At: 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