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!epJzlJsZWlp1WuFmYLlBpQ.user.46.165.242.91.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: A new universe of Ada Date: Mon, 26 Sep 2022 09:45:41 +0200 Organization: Aioe.org NNTP Server Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: gioia.aioe.org; logging-data="39772"; posting-host="epJzlJsZWlp1WuFmYLlBpQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.13.1 Content-Language: en-US X-Notice: Filtered by postfilter v. 0.9.2 Xref: reader01.eternal-september.org comp.lang.ada:64411 List-Id: On 2022-09-26 09:27, Simon Wright wrote: > "Dmitry A. Kazakov" writes: > >> 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. > > Until you get to programs with a lot of tasking and/or interrupts, most > are "little exercises". Do not forget about using a debugger (and, > realistically, GDB is it for GNAT). Not only tasking. Usually if you have several dependent projects things stop working in GDB. In my case it is basically always. P.S. Even addr2line does not always work in presence of dynamic libraries etc. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de