unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Tom Burbage <tiburbage@gmail.com>
Cc: 19966@debbugs.gnu.org
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	[thread overview]
Message-ID: <83oaoe4en4.fsf@gnu.org> (raw)
In-Reply-To: <54F0EFA3.5020106@gmail.com>

> Date: Fri, 27 Feb 2015 14:28:51 -0800
> From: Tom Burbage <tiburbage@gmail.com>
> 
> 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.





  reply	other threads:[~2015-02-28  8:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-27 22:28 bug#19966: 24.4; Get error on hover over variable for tooltip inspection, gud/pdb Tom Burbage
2015-02-28  8:35 ` Eli Zaretskii [this message]
     [not found]   ` <54F21B0C.7040903@gmail.com>
2015-02-28 20:43     ` Eli Zaretskii
2015-03-02 17:31       ` Stefan Monnier
2015-03-02 17:43         ` Eli Zaretskii
2015-03-03 19:24         ` Stefan Monnier
2015-03-04  7:29         ` Tom Burbage

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83oaoe4en4.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=19966@debbugs.gnu.org \
    --cc=tiburbage@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).