From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!reader01.eternal-september.org!aioe.org!gy7opw3oYmwPg+L8gXeD2w.user.46.165.242.75.POSTED!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: A new universe of Ada Date: Wed, 28 Sep 2022 10:40:44 -0700 Organization: Aioe.org NNTP Server Message-ID: <86v8p7iehv.fsf@stephe-leake.org> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: gioia.aioe.org; logging-data="57269"; posting-host="gy7opw3oYmwPg+L8gXeD2w.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (windows-nt) X-Notice: Filtered by postfilter v. 0.9.2 Cancel-Lock: sha1:1w2AlDRvq3EUDvbijp6JgXarCG4= Xref: reader01.eternal-september.org comp.lang.ada:64450 List-Id: "Dmitry A. Kazakov" writes: > On 2022-09-26 08:20, Rick Duley wrote: > >> I have Gnat Studio but I can't do anything at all unless I create a >> Project (whatever that is). Even then, I can't write and run >> Hello_World unless I call it Main. The concept of an IDE where I can >> step through a program checking changes in variable values as I go >> seems to have vanished. > > That concept is called debugger. GDB for GCC (GNAT Ada is based in > GDB). GDB never ever really worked except for little exercises. It > still does not. So, forget about it. Dmitry is an extreme pessimist about gdb; apparently he has had bad experience with it. On the other hand, I used GNAT with gdb for many years at NASA, maintaining a spacecraft simulator; I never had a problem with gdb. >> In short, I am lost and I can't find any material to help me find my way. There is a tutorial in the GNAT Studio Help menu, somewhere. I haven't looked at it for years, I don't know if it covers debugging. AdaCore has extensive resources for learning; see https://learn.adacore.com/ -- -- Stephe