ddd
[Top][All Lists]
Advanced

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

Re: Mac OS use of ddd


From: rbd
Subject: Re: Mac OS use of ddd
Date: Mon, 2 Nov 2020 14:05:37 -1000 (HST)
User-agent: Alpine 2.21 (OSX 202 2017-01-01)

Hi Adanna,

I assume you have already verified that gdb is behaving properly for you on macOS? If not, you should do that first as my understanding is that gdb itself no longer works well (if at all) on macOS (although this may be dependent upon your compiler, e.g., you could probably expect it to be more compatible with gcc than with the Apple compiler).

I am not aware of any GUI substitute for ddd that can work with gdb on macOS or anywhere else for that matter. I am still using ddd effectively on my Linux platforms.

Roger

On Mon, 2 Nov 2020, Adanna Eziri wrote:

Thanks,

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

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

I’ve been sifting through forums online but they all seem similarly outdated. If i just have to deal with the standard gdb output format, I feel comfortable doing that, just looking for alternatives!

Best,
AE

On Nov 1, 2020, at 4:39 PM, rbd <rbd@soest.hawaii.edu> wrote:

Hi Adanna,

ddd is an X11 application, and the message you reported typically indicates 
that the X11 window system is not running and ddd can find no X11 display to 
which it can connect. Have you installed the XQuartz server from 
https://www.xquartz.org?

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) now 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.)

Roger

On Sun, 1 Nov 2020, Adanna Eziri wrote:

Hi, I've installed ddd via terminal (i use vim) on my Mac laptop, but each 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 the 
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

reply via email to

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