Re: Mac OS use of ddd

Adanna Eziri <[email protected]> Mon, 2 Nov 2020 16:56:50 -0600
Newsgroups gmane.comp.debugging.ddd.general
Message-ID <[email protected]>
Thanks,

I was looking up solutions online and came across a similar explanation.=20

Do you have any recommendations for a gdb debugger gui that is compatible on=
 MacOS?

I=E2=80=99ve been sifting through forums online but they all seem similarly o=
utdated. If i just have to deal with the standard gdb output format, I feel c=
omfortable doing that, just looking for alternatives!=20

Best,
AE

> On Nov 1, 2020, at 4:39 PM, rbd <[email protected]> wrote:
>=20
> =EF=BB=BFHi Adanna,
>=20
> ddd is an X11 application, and the message you reported typically indicate=
s that the X11 window system is not running and ddd can find no X11 display t=
o which it can connect. Have you installed the XQuartz server from https://w=
ww.xquartz.org?
>=20
> FYI, ddd is now a very old application and has not run well, if at all, on=
 macOS systems for the last two or three major releases due to problems with=
 the Xt library and the difficulties which gdb (ddd's underlying debugger) n=
ow has with macOS executables. I have not used it successfully for years, if=
 you can figure out how please let me know! (I figured out how to use Xcode'=
s debugger in standalone mode as a substitute for ddd.)
>=20
> Roger
>=20
>> On Sun, 1 Nov 2020, Adanna Eziri wrote:
>>=20
>> Hi, I've installed ddd via terminal (i use vim) on my Mac laptop, but eac=
h time I
>> try to run the code, I receive the following message:
>> Error: Can't open display:
>> I've tried installing LessTif and uninstalling openMotif to no avail. Is t=
he ddd window compatible with Mac OS devices? If so, how would I be able
>> to run it? My software is Mac OS 10.14.5 Mojave. Thanks in advance,
>>  Adanna