From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#19966: 24.4; Get error on hover over variable for tooltip inspection, gud/pdb Date: Sat, 28 Feb 2015 22:43:36 +0200 Message-ID: <83r3t9sr5z.fsf@gnu.org> References: <54F0EFA3.5020106@gmail.com> <83oaoe4en4.fsf@gnu.org> <54F21B0C.7040903@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1425156262 26770 80.91.229.3 (28 Feb 2015 20:44:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 28 Feb 2015 20:44:22 +0000 (UTC) Cc: 19966@debbugs.gnu.org To: Tom Burbage Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 28 21:44:10 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YRoF8-000265-AB for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Feb 2015 21:44:10 +0100 Original-Received: from localhost ([::1]:42339 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRoF7-0006fq-La for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Feb 2015 15:44:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47124) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRoF3-0006fB-TR for bug-gnu-emacs@gnu.org; Sat, 28 Feb 2015 15:44:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YRoF0-0003JC-Ls for bug-gnu-emacs@gnu.org; Sat, 28 Feb 2015 15:44:05 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57299) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRoF0-0003J6-JY for bug-gnu-emacs@gnu.org; Sat, 28 Feb 2015 15:44:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YRoF0-0001A9-7n for bug-gnu-emacs@gnu.org; Sat, 28 Feb 2015 15:44:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Feb 2015 20:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19966 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19966-submit@debbugs.gnu.org id=B19966.14251562374450 (code B ref 19966); Sat, 28 Feb 2015 20:44:02 +0000 Original-Received: (at 19966) by debbugs.gnu.org; 28 Feb 2015 20:43:57 +0000 Original-Received: from localhost ([127.0.0.1]:60897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YRoEu-00019h-7s for submit@debbugs.gnu.org; Sat, 28 Feb 2015 15:43:56 -0500 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:47596) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YRoEr-00019P-KY for 19966@debbugs.gnu.org; Sat, 28 Feb 2015 15:43:54 -0500 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NKI00L0011WGP00@mtaout29.012.net.il> for 19966@debbugs.gnu.org; Sat, 28 Feb 2015 22:39:38 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NKI00MNW1E21Z00@mtaout29.012.net.il>; Sat, 28 Feb 2015 22:39:38 +0200 (IST) In-reply-to: <54F21B0C.7040903@gmail.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:99920 Archived-At: [Please keep the bug address on the CC list.] > Date: Sat, 28 Feb 2015 11:46:20 -0800 > From: Tom Burbage > > Here's an important update: I just tried and successfully reproduced > this problem on OSX using a binary version of 24.4 (from > http://emacsformacosx.com/). So at least it isn't something Windows > specific. I don't have a Linux currently to try it on. > My OSX version: GNU Emacs 24.4.1 (x86_64-apple-darwin13.4.0, NS > apple-appkit-1265.21) of 2014-10-20 on builder10-9.porkrind.org > > Back to the Windows steps: > I've attached a simple .bat file (renamed to .txt with hope that an > attachment checker won't remove it) that you can use. Just rename it to > pdb.bat, then edit: > 1 - You may need, depending on your environment, to make the path to > python.exe fully qualified > 2 - For a python file, you can just save something like below to e.g. > test.py: > var1 = 1 > var2 = 2 > var3 = 3 > > Then: > 1 - start Emacs using -Q > 2 - Open test.py > 3 - M-x pdb > 4 - (run like this) /pdb.bat test.py > GUD should come up successfully > 5 - From the "Gud" menu, Show GUD Tooltips > 6 - Step over one or two lines > 7 - hover over "var1" in the source > That's were I see in the echo area: > > Error running timer `tooltip-timeout': (void-variable v) Thanks. This is above my pay grade. Here's the Lisp backtrace, which I hope will allow someone to pick up where I left off: Lisp Backtrace: "process-filter" (0x82d3e0) 0x39e2a58 Lisp type 6 "advice--add-function" (0x82d800) "if" (0x82da40) "if" (0x82db80) "let" (0x82dd20) "if" (0x82de60) "progn" (0x82df70) "if" (0x82e080) "let" (0x82e220) "progn" (0x82e330) "if" (0x82e440) "let" (0x82e5e0) "gud-tooltip-tips" (0x82e84c) "run-hook-with-args-until-success" (0x82e848) "tooltip-timeout" (0x82ec0c) "apply" (0x82ec08) "byte-code" (0x82ee8c) "timer-event-handler" (0x82f2cc) (In case someone wonders how did we get to advice--add-function here: it comes from add-function in gud-tooltip-tips. I have no idea what is the variable 'v' which triggers the error.)