From debbugs-submit-bounces@debbugs.gnu.org Tue May 04 10:43:15 2010 Received: (at submit) by debbugs.gnu.org; 4 May 2010 14:43:15 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O9JL8-00006g-EJ for submit@debbugs.gnu.org; Tue, 04 May 2010 10:43:15 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O9JL5-00006Z-UB for submit@debbugs.gnu.org; Tue, 04 May 2010 10:43:12 -0400 Received: from lists.gnu.org ([199.232.76.165]:51926) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1O9JL0-0000wt-Ti for submit@debbugs.gnu.org; Tue, 04 May 2010 10:43:06 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O9JL0-0003MA-Eu for bug-gnu-emacs@gnu.org; Tue, 04 May 2010 10:43:06 -0400 Received: from [140.186.70.92] (port=35230 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9JKy-0003L3-B8 for bug-gnu-emacs@gnu.org; Tue, 04 May 2010 10:43:05 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,RDNS_NONE, T_FRT_PACKAGE autolearn=no version=3.3.0 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O9JKx-0005xJ-8S for bug-gnu-emacs@gnu.org; Tue, 04 May 2010 10:43:04 -0400 Received: from [206.217.198.21] (port=41074 helo=boostpro.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O9JKx-0005x7-4O for bug-gnu-emacs@gnu.org; Tue, 04 May 2010 10:43:03 -0400 Received: from zreba.local (207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com [207.172.223.249]) (Authenticated sender: dave) by boostpro.com (Postfix) with ESMTPSA id 9809414BBC5; Tue, 4 May 2010 15:43:01 +0100 (BST) Received: from zreba.local (localhost [127.0.0.1]) by zreba.local (Postfix) with ESMTP id D826C227CD5C; Tue, 4 May 2010 10:43:35 -0400 (EDT) Date: Tue, 04 May 2010 10:43:35 -0400 Message-ID: From: David Abrahams To: bug-gnu-emacs@gnu.org Subject: 23.1; PDB should pop "up" the stack on return User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.7 Emacs/23.1 (i386-apple-darwin9.8.0) MULE/6.0 (HANACHIRUSATO) Organization: BoostPro Computing MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: 1) Debug a python program using PDB, say def g(): pass def h(): pass def f(): g() h() 2) step into g() 3) hit `n' until you see --Return-- in the *gud* buffer 4) Note that the GUD line marker is still pointing at the last line of g, just as it was before the last `n' 5) Hit `n' again. Note that the GUD line marker is now pointing at the first line of h() It would be more consistent and easier to use if, at step 4, the line marker indicated the 3rd line of f(), i.e. the call to h() If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /Applications/Emacs.app/Contents/Resources/etc/DEBUG for instructions. In GNU Emacs 23.1.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54) of 2009-08-16 on black.local Windowing system distributor `Apple', version 10.3.1038 configured using `configure '--with-ns'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: nil default-enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: shell-dirtrack-mode: t diff-auto-refine-mode: t show-paren-mode: t server-mode: t global-auto-revert-mode: t delete-selection-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-w C-s C-, C-, C-s l i n k s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-n C-n C-p C-p C-p C-n C-n C-p C-p C-n C-n C-p C-x SPC C-x C-b C-x C-b C-x C-b b SPC p i p . i n d e x C-a C-k i m p o r t SPC p i p . i n d e x C-x C-b C-x SPC C-x C-b C-x C-b C-x C-b M-p M-p M-n C-a M-d b C-e . P a c k a g e F i n d e r . _ _ i n i t _ _ c n s w h e r e u s M-x f i n d - f u n p d b M-< C-n C-e C-n C-e C-, C-, C-, C-, C-, C-, C-s p d b C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-r C-r SPC s u p p C-r C-s C-s C-g M-< C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-s p d b C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-n C-n C-p C-p C-p C-p C-s p y t h o n C-g C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p M-x r e p o r t - e m b u Recent messages: pdbtrack: line 37, file /Users/dave/work/pipsync/int/pip/index.py Mark set [2 times] pdbtrack: line 142, file /Users/dave/work/pipsync/int/pip/commands/install.py Mark set [2 times] pdbtrack: line 708, file /Users/dave/work/pipsync/int/pip/req.py uncompressing gud.el.gz...done Mark set Mark saved where search started Mark set Mark saved where search started Quit -- Dave Abrahams Meet me at BoostCon: http://www.boostcon.com BoostPro Computing http://www.boostpro.com From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 13 07:38:45 2019 Received: (at 6097) by debbugs.gnu.org; 13 Sep 2019 11:38:45 +0000 Received: from localhost ([127.0.0.1]:44450 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i8juX-0005Xd-2k for submit@debbugs.gnu.org; Fri, 13 Sep 2019 07:38:45 -0400 Received: from mail-pf1-f172.google.com ([209.85.210.172]:42802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i8juU-0005XP-Vg for 6097@debbugs.gnu.org; Fri, 13 Sep 2019 07:38:43 -0400 Received: by mail-pf1-f172.google.com with SMTP id w22so17911789pfi.9 for <6097@debbugs.gnu.org>; Fri, 13 Sep 2019 04:38:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=4PXWSMPbJDDprSlXikO5xbf5QX8dQthWl5kTRTOzJz4=; b=YSa8LqzzSck1IB5H0JMhM4rvEtSpDO1pbr6nUsfhj5qJ8Nen7h8B1q/9cqgYLXGh+u VzpoupCPoqYKkiMvu2bbpRoebdqTjtCK+Gypsw4fvw/qERIyx0gqG7KIia/AFsV+cOkb J/PiAs53950qO/sS8v7raPlJe5Fx2HbkNHX4WNBgQ2HGsupWpxBGE5j/4ZY/lOBk2/IM MSm6fhdBb7F86JHvzrBpf3yTAzu64Vkyhe0bGDLt4LuFPRDsO5KB2W//l5WoYdyXDCs+ ZY/J93IwGmWFm0YO2/q53GaClCeyJKMWwvjBvc4LvwLiD8qo9in1hgyOH5T/gFF6yOtW rn1Q== X-Gm-Message-State: APjAAAWfr0T+WmoO9eVWUmruOF6kGGsrJxWADIlDcnipX3AF6OK+be28 r/HeceQNDJu3UeCAe0S709MXrxS1xkBo3oALGFT8DnZu X-Google-Smtp-Source: APXvYqw9XjUDe4dd0vgbA9bZyI9Llcrl9fVzfmlQXekzN/mEAngUIcohJA4Mcnsr55exQG1gXKWpRRZlSGCqfiuSiSg= X-Received: by 2002:a63:ef4d:: with SMTP id c13mr6725674pgk.200.1568374717001; Fri, 13 Sep 2019 04:38:37 -0700 (PDT) MIME-Version: 1.0 From: Stefan Kangas Date: Fri, 13 Sep 2019 13:38:26 +0200 Message-ID: Subject: Re: bug#6097: 23.1; PDB should pop "up" the stack on return To: David Abrahams Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 6097 Cc: 6097@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: -1.0 (-) David Abrahams writes: > 1) Debug a python program using PDB, say > > def g(): > pass > > def h(): > pass > > def f(): > g() > h() > > 2) step into g() > 3) hit `n' until you see > > --Return-- > > in the *gud* buffer > > 4) Note that the GUD line marker is still pointing at the last line of g, > just as it was before the last `n' > > 5) Hit `n' again. Note that the GUD line marker is now pointing at > the first line of h() > > It would be more consistent and easier to use if, at step 4, the line > marker indicated the 3rd line of f(), i.e. the call to h() I'm not exactly sure what you are requesting here. To determine what line to jump to, pdb is parsing lines such as: > /home/skangas/foo.py(2)g()->None ^ > /home/skangas/foo.py(9)f() ^ This works as expected on the latest master branch. I'm not sure how we could do better here, unless pdb changes it's output. I'm therefore leaning towards closing this as notabug. Please clarify if there is something I'm missing. Best regards, Stefan Kangas From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 13 07:39:02 2019 Received: (at control) by debbugs.gnu.org; 13 Sep 2019 11:39:02 +0000 Received: from localhost ([127.0.0.1]:44454 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i8juo-0005YJ-Ck for submit@debbugs.gnu.org; Fri, 13 Sep 2019 07:39:02 -0400 Received: from mail-pf1-f180.google.com ([209.85.210.180]:35755) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i8jum-0005Xt-1C for control@debbugs.gnu.org; Fri, 13 Sep 2019 07:39:00 -0400 Received: by mail-pf1-f180.google.com with SMTP id 205so17919913pfw.2 for ; Fri, 13 Sep 2019 04:38:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=KsIReWq1rEZPt0Trye6PDADkBHhsDoUr6PUQ7IuzB30=; b=TS7ji45sfsDk1pGZmWlPdFKKdsrQIPf2OYG2Oivebt6b422bYAVWxZ8bzZoVYk3/E3 aPFeXSj5jtP/6sezBAfjudnnC77E3rf8kQ2uQ2BU5tvUeMRawQKdeC66hRP0I41YpRjs 9xhC6ddIiRX3KVAwG7/yjrkjyYtc6rgGwUiSVFEKCodwX3LSFjAdHvwAl5sNfBM58lgZ QgPP2eMBDA83M+pF4zfJjzANw7Wf+FpvEEuQ9e+7dRpVkByiSxTZlvaMxBWKcs7EYN0l +Iu2kYw9ZDCi6DrVdV12jCNZo5mEtXJKEZrnBrn5zTBgnQ9YcOq9EmMSGreFIWQKCgad VKWQ== X-Gm-Message-State: APjAAAV5qyCNKrT9ffjRFKRRDKtJz7FjT80znz2AK5rsUt2mDmj/Ha4z 5Sj4VG9yUJNJLXPjxH2Co+60cPomKFXGbPU1Tnrzs5M/ X-Google-Smtp-Source: APXvYqylMUsVzHyyKe51ZtgNVcJguFxKIod10p7+6DpLUX1d+LhJxUhjOrBd7f1L2fVW5cBlrRn5OIepMT9Zui0R0QQ= X-Received: by 2002:a62:15c7:: with SMTP id 190mr54803237pfv.107.1568374734072; Fri, 13 Sep 2019 04:38:54 -0700 (PDT) MIME-Version: 1.0 From: Stefan Kangas Date: Fri, 13 Sep 2019 13:38:43 +0200 Message-ID: Subject: To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: tags 6097 moreinfo severity 6097 minor quit Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (stefankangas[at]gmail.com) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.210.180 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.210.180 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different 2.0 BLANK_SUBJECT Subject is present but empty 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: 1.0 (+) tags 6097 moreinfo severity 6097 minor quit From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 14 08:29:18 2019 Received: (at 6097) by debbugs.gnu.org; 14 Oct 2019 12:29:19 +0000 Received: from localhost ([127.0.0.1]:38292 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJzTS-0007ou-OR for submit@debbugs.gnu.org; Mon, 14 Oct 2019 08:29:18 -0400 Received: from mail-pf1-f179.google.com ([209.85.210.179]:42397) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJzTR-0007od-N1 for 6097@debbugs.gnu.org; Mon, 14 Oct 2019 08:29:18 -0400 Received: by mail-pf1-f179.google.com with SMTP id q12so10326725pff.9 for <6097@debbugs.gnu.org>; Mon, 14 Oct 2019 05:29:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mn5CF4zaCh1uXiamV/sall1FxXUOcJg6BjeMH5kWmHU=; b=M7F2QnoohIHirggtaKojHeJ6erX5L9pqX8sYw/S9UCTCbbhU6pBvWRyEA+9R7KPlwf 7WjhcXwtDkcGsj6lrgX0SIW+iL6vYDMGC/UBQu6IqsD4XyFFIQj8MDxeOdolk+AQ1r/9 mHP0XTDmr+2z6zUSyuDBe0gAhO1lJ++MvH4ZiP3tiZpfLALfsi0y/bdxKx01wQU/RUPH 0Vw/we08V2an5Ek9Ave2MC+qvhQSzaPy53TkTXQpYQxQxfg32DbRzZ9LVYJayK5MbEaA vgWStQgfYD9CDWiqtXvbRDHcVA+gO2Oj7fQvqMGfK8fOWEzVPN2VVBhVKeMXJ+k3y5WZ 49DQ== X-Gm-Message-State: APjAAAV4J1tlAxqVQZJAZp2/eWaKXa6COTg+Oj14KinmriNY2R85v1Sf sFjG9I9pIKRQa2qaNNBCmt8WEKd6wiqwqKLUYK5QFZdy X-Google-Smtp-Source: APXvYqwbMwHPUvBhj6f9j1fkYck6YouFF65Tcc9McWeh6fMscFC6IOL/ntKa+ImASs2raTS2NDmfM4bYNn56AMOUJKs= X-Received: by 2002:a62:8305:: with SMTP id h5mr31838919pfe.190.1571056152076; Mon, 14 Oct 2019 05:29:12 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Stefan Kangas Date: Mon, 14 Oct 2019 14:29:01 +0200 Message-ID: Subject: Re: bug#6097: 23.1; PDB should pop "up" the stack on return To: David Abrahams Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 6097 Cc: 6097@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: -0.7 (/) tags 6097 + notabug close 6097 quit Stefan Kangas writes: > I'm not sure how we could do better here, unless pdb changes it's > output. I'm therefore leaning towards closing this as notabug. > > Please clarify if there is something I'm missing. No reply within 4 weeks, so I'm closing this bug now. Best regards, Stefan Kangas From unknown Thu Aug 14 21:53:21 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 12 Nov 2019 12:24:15 +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