From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Intervention needed? Date: Wed, 03 Apr 2019 22:12:24 +0100 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="3352be630da3ad5d12c90afaa3beb70a"; logging-data="29480"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+xzHDo5EG0TYV9FN9JwFB7zwBsv+dfVmk=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (darwin) Cancel-Lock: sha1:lSk0fW+eeEuF7tJYF+dsorAgx/w= sha1:2NKvDcNAuOyjZFnhCa/V+ZtVTkw= Xref: reader01.eternal-september.org comp.lang.ada:56066 Date: 2019-04-03T22:12:24+01:00 List-Id: "Dmitry A. Kazakov" writes: > In none of my projects GDB works. I never tried to figure out if that > is related to the number of compilation units or number of library > projects involved. > > When you click Debug->Initialize->your-main-program in GPS and > debugger does not start you know you reached the point. > > P.S. It never worked reliable in GPS and I bet it never will. I might well find the same if I used GPS. But there's been a lot of trouble with GDB and macOS[1], and even after the latest fix there's still a knack to getting GDB to start properly: see [2]. So it's command-line only, plus swearing. But 90% of the time it's a matter of looking at the fatal exception traceback. Of course, I'm not dealing with large real-time problems. [1] https://forward-in-code.blogspot.com/2018/11/mojave-vs-gdb.html [2] https://sourceware.org/bugzilla/show_bug.cgi?id=24069