Re: Mac OS use of ddd

rbd <[email protected]> Sun, 1 Nov 2020 12:39:30 -1000 (HST)
Newsgroups gmane.comp.debugging.ddd.general
Message-ID <[email protected]>
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--0-1738293467-1604270370=:17631
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8BIT

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
> 
>
--0-1738293467-1604270370=:17631--