From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Path: eternal-september.org!reader02.eternal-september.org!aioe.org!5WHqCw2XxjHb2npjM9GYbw.user.gioia.aioe.org.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Alternative for Gnat Studio Date: Fri, 26 Feb 2021 08:56:39 +0100 Organization: Aioe.org NNTP Server Message-ID: References: <602e608e$0$27680$e4fe514c@news.kpn.nl> <60379b69$0$20345$e4fe514c@news.kpn.nl> NNTP-Posting-Host: 5WHqCw2XxjHb2npjM9GYbw.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 X-Notice: Filtered by postfilter v. 0.9.2 Content-Language: en-US Xref: reader02.eternal-september.org comp.lang.ada:61448 List-Id: On 2021-02-25 13:43, ldries46 wrote: > Op 18-2-2021 om 13:41 schreef ldries46: >> At this moment I am using GNAT Studio for Ada programming. >> Now I have two reasons for a possible change: >> >>  1. I read somewhere that the freeware version is not going to be >>     continued. Is that true? >>  2. I have proroblems with the program (I cannot use it any more >>     becasuse it is reacts with the program I am busy with "Program >>     does not react". >> >> Because Gnatstudio has  simple one command Instalation procedure it is >> easy for me to understand for me hoe to install it. Is there an >> alternative that is almost as easy to install which I can use, >> preferably with an simple and good readable description how to install >> it. >> >> >> L. Dries >> > My problem has become more acute. Till now I avoided the debugging > option in the GNAT 2020 Community edition by badding print statements > within the normal running program but now I have an error mentioned > somewhere within the Ada. Unbounded_Strings which is used on a lot of > positions in the program. The only way I know to detect wher the problem > is is using the debug option with several brakpoints and as possible > shifting these around to find this error but uding the debu option just > makes the program coming to the "program does not react". GDB and IDE are different things. GDB never really worked for complex projects and, I am afraid, it never will. Then resolving a complex issue like you describe with debugger is unrealistic anyway. If you have a memory corruption, e.g. per concurrent access, debugger is not much help, even a good debugger, rather than the garbage GDB is. The first step is to set an exception handler and trace all exceptions before they propagate. See GNAT.Exception_Action. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de