From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Live System User Newsgroups: gmane.emacs.bugs Subject: bug#25194: 25.1; Python debugger breakpoint error Date: Tue, 13 Dec 2016 07:25:57 -0500 Message-ID: <87d1gw817u.fsf@aol.com> References: <87k2b487ic.fsf@aol.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1481632169 5824 195.159.176.226 (13 Dec 2016 12:29:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 13 Dec 2016 12:29:29 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) To: 25194@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 13 13:29:25 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 1cGmCx-0000jq-1W for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Dec 2016 13:29:23 +0100 Original-Received: from localhost ([::1]:37802 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGmD1-0000lZ-9P for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Dec 2016 07:29:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52972) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGmAk-0007YB-3b for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 07:27:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGmAg-0002os-QZ for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 07:27:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53023) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cGmAg-0002oo-Mx for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 07:27:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cGmAg-000166-Ec for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 07:27:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <87k2b487ic.fsf@aol.com> Resent-From: Live System User Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Dec 2016 12:27: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.14816319844175 (code B ref -1); Tue, 13 Dec 2016 12:27:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Dec 2016 12:26:24 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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/ Original-Lines: 49 Original-X-Complaints-To: usenet@blaine.gmane.org 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-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:126979 Archived-At: 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