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 10:35:43 +0200 Message-ID: <83oaoe4en4.fsf@gnu.org> References: <54F0EFA3.5020106@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1425112585 19881 80.91.229.3 (28 Feb 2015 08:36:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 28 Feb 2015 08:36:25 +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 09:36:12 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 1YRcsd-0006W9-PS for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Feb 2015 09:36:11 +0100 Original-Received: from localhost ([::1]:40367 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRcsc-0007Yq-Rj for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Feb 2015 03:36:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36971) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRcsY-0007Xo-99 for bug-gnu-emacs@gnu.org; Sat, 28 Feb 2015 03:36:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YRcsV-0001tK-2G for bug-gnu-emacs@gnu.org; Sat, 28 Feb 2015 03:36:06 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56750) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRcsU-0001sR-U3 for bug-gnu-emacs@gnu.org; Sat, 28 Feb 2015 03:36:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YRcsU-0006FY-BU for bug-gnu-emacs@gnu.org; Sat, 28 Feb 2015 03:36: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 08:36: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.142511253523984 (code B ref 19966); Sat, 28 Feb 2015 08:36:02 +0000 Original-Received: (at 19966) by debbugs.gnu.org; 28 Feb 2015 08:35:35 +0000 Original-Received: from localhost ([127.0.0.1]:60348 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YRcs3-0006El-4F for submit@debbugs.gnu.org; Sat, 28 Feb 2015 03:35:35 -0500 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:41289) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YRcrx-0006ER-Il for 19966@debbugs.gnu.org; Sat, 28 Feb 2015 03:35:30 -0500 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NKH008002YCW000@mtaout29.012.net.il> for 19966@debbugs.gnu.org; Sat, 28 Feb 2015 10:31:13 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NKH006VU3O1YV40@mtaout29.012.net.il>; Sat, 28 Feb 2015 10:31:13 +0200 (IST) In-reply-to: <54F0EFA3.5020106@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:99895 Archived-At: > Date: Fri, 27 Feb 2015 14:28:51 -0800 > From: Tom Burbage > > Using current binary build of Emacs 24.4 for Windows. > emacs-24.4-bin-i686-pc-mingw32 > The use context is: > 1 - Open a python source file > 2 - M-x pdb ;; run gud/pdb for the current .py > 3 - step until a variable becomes defined/initialized > 4 - hover the mouse over the variable name in the source > The errors: > Error running timer `tooltip-timeout': (wrong-type-argument markerp nil) > Command: next [4 times] > Error running timer `tooltip-timeout': (void-variable v) [2 times] I cannot reproduce this. Does this happen for you in "emacs -Q"? Can you show a backtrace from these errors? Are you sure you are using gud.el, gdb-mi.el, and tooltip.el from Emacs 24.4, not shadowing any of them with different versions? I tested this with "M-x gdb" debugging emacs.exe, not "M-x pdb" debugging a Python program (don't have a setup for the latter). Do you see the same problem with "M-x gdb"? If not, perhaps PDB behaves differently when it gets the request for values sent by Emacs, please try to look into that. > - I have the tooltip.el tooltip-mode OFF/nil > - I have gud-tooltip-mode ON (obviously) A strange configuration, IMO, but I tried it is a well, and still didn't see the problem. > - If I start Emacs w/ --no-init, I can still reproduce the problem > - If I replace progmodes/gud.el , gud.elc with those from 24.3, the > errors do not occur > > Other problems ensue on Windows when tooltip messages actually display > as tooltip windows, and I suspect maybe it is an HWND stealing problem, > but not sure and that's a different issue. I'm OK with the info being > printed to the "echo area" I don't see any problems with tooltips on Windows, neither in GUD nor elsewhere. What problems do you see? Btw, even if I turn tooltip-mode OFF, and verify it's off by hovering the mouse above tool-bar buttons, GUD tooltips still show as balloon help for me. Not sure if this is a bug or a feature, but it doesn't seem to cause any harm here.