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 10:44:27 -0500 Message-ID: <874m2796lg.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: quoted-printable X-Trace: blaine.gmane.org 1481643974 25017 195.159.176.226 (13 Dec 2016 15:46:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 13 Dec 2016 15:46:14 +0000 (UTC) To: 25194@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 13 16:46:10 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 1cGpHN-0005Yh-MB for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Dec 2016 16:46:09 +0100 Original-Received: from localhost ([::1]:39106 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGpHQ-0001KH-9W for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Dec 2016 10:46:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50057) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGpHJ-0001K9-LR for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 10:46:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGpHH-00087S-31 for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 10:46:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53713) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cGpHG-00087M-UZ for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 10:46:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cGpHG-0007sK-Iz for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 10:46: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 15:46: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: Original-Received: via spool by 25194-submit@debbugs.gnu.org id=B25194.148164390730199 (code B ref 25194); Tue, 13 Dec 2016 15:46:02 +0000 Original-Received: (at 25194) by debbugs.gnu.org; 13 Dec 2016 15:45:07 +0000 Original-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 Original-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 Original-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) Original-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) 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-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:126980 Archived-At: 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.