unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Visuwesh <visuweshm@gmail.com>
To: Jean Louis <bugs@gnu.support>
Cc: Po Lu <luangruo@yahoo.com>, Stefan <monnier@iro.umontreal.ca>,
	57320@debbugs.gnu.org
Subject: bug#57320: 29.0.50; Lucid menus can't be operated with the mouse
Date: Tue, 06 Sep 2022 15:53:15 +0530	[thread overview]
Message-ID: <87k06gby3w.fsf@gmail.com> (raw)
In-Reply-To: <YxcF1tv+tzVy64OD@protected.localdomain> (Jean Louis's message of "Tue, 6 Sep 2022 11:33:26 +0300")

[செவ்வாய் செப்டம்பர் 06, 2022] Jean Louis wrote:

> * Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors <bug-gnu-emacs@gnu.org> [2022-08-22 04:36]:
>> Please put a breakpoint on line 2879 of xlwmenu.c and tell me what
>> XtGrabPointer returns.  Make sure to do this from another machine, since
>> grabbing will not work if you switch windows or click anywhere else.
>
> How do I do this?
>
> I can do it from my phone or other machine in LAN. Give me
> instructions please.

Here's what I did: Compile Emacs so that it retains symbol info,
etc. (see C-h C-d).
I ssh'd into my laptop from termux, started an emacsclient there.  cd'd
into src/ directory of my git checkout started gdb by saying M-x gdb
RET.  In the gdb prompt, I said

    (gdb) source .gdbinit
    (gdb) break xlwmenu.c:2879
    (gdb) run -Q

At this point, emacs -Q should have opened in your machine.  I clicked
the menu in the emacs -Q frame and the breakpoint in gdb hit.  Make sure
you don't move the mouse or use the keyboard.  After the breakpoint hit,
it was a matter of doing what Eli instructed me.

HTH.





  reply	other threads:[~2022-09-06 10:23 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-21 14:43 bug#57320: 29.0.50; Lucid menus can't be operated with the mouse Stefan via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-21 15:00 ` Lars Ingebrigtsen
2022-08-21 15:08   ` Visuwesh
2022-08-21 15:11     ` Lars Ingebrigtsen
2022-08-22  1:35 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-30  7:23   ` Visuwesh
2022-08-30 10:07     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-30 14:08       ` Visuwesh
2022-08-31  1:33         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-31  8:22           ` Visuwesh
2022-08-31 11:17             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-31 14:19               ` Visuwesh
2022-09-04  4:37   ` Visuwesh
2022-09-04  5:20     ` Eli Zaretskii
2022-09-04  5:36     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-09-04  5:54       ` Visuwesh
2022-09-04  6:09         ` Eli Zaretskii
2022-09-04  6:43           ` Visuwesh
2022-09-04  8:34             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-09-04  8:41               ` Visuwesh
2022-09-06  9:44         ` Jean Louis
2022-09-06  8:33   ` Jean Louis
2022-09-06 10:23     ` Visuwesh [this message]
2022-09-06  8:22 ` Jean Louis

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=87k06gby3w.fsf@gmail.com \
    --to=visuweshm@gmail.com \
    --cc=57320@debbugs.gnu.org \
    --cc=bugs@gnu.support \
    --cc=luangruo@yahoo.com \
    --cc=monnier@iro.umontreal.ca \
    /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).