Re: Mac OS use of ddd
rbd <[email protected]> Mon, 2 Nov 2020 14:05:37 -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-532123597-1604361937=:26529 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT 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 <[email protected]> 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 > --0-532123597-1604361937=:26529--