emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs without threads


From: Michael Albinus
Subject: Re: Emacs without threads
Date: Fri, 22 Dec 2023 10:20:53 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Eli Zaretskii <eliz@gnu.org> writes:

Hi Eli,

>> I'm using EXWM and start emacs last from my .xsession.  But, as for
>> other wm, I start it with a dbus-launch like this:
>>
>>    dbus-launch --sh-syntax --exit-with-x11 emacs
>>
>> If I replace this line with just "emacs", I do not experience the freeze
>> of GDB sessions.  Thanks.
>
> Glad I could help you.
>
> I don't what dbus-launch does.  Michael, can you help us understand
> why it interferes with debugging via gdb-mi.el?

dbus-launch with its above arguments starts the D-Bus session bus as
daemon. It sets the respective environment variables and starts the
given program (emacs in this case) with the new environment.

The backside of this approach is, that this D-Bus environment is known
only to the started Emacs instance and its derived programs. The cannot
communicate with other programs via D-Bus, if these programs are started
outside the dbus-launch invocation.

I don't know, whether this is relevant for gdb-mi.el.

Best regards, Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]