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!feeder.eternal-september.org!aioe.org!.POSTED.3d73Ybk3C5U4I2t8lv+lAQ.user.gioia.aioe.org!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Ada Community and GDB/Python problems Date: Sat, 8 Feb 2020 11:27:04 +0100 Organization: Aioe.org NNTP Server Message-ID: References: <4cc63bc8-ff8a-4f9e-8649-4e50d7448674@googlegroups.com> NNTP-Posting-Host: 3d73Ybk3C5U4I2t8lv+lAQ.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 Content-Language: en-US X-Notice: Filtered by postfilter v. 0.9.2 Xref: reader01.eternal-september.org comp.lang.ada:58011 Date: 2020-02-08T11:27:04+01:00 List-Id: On 2020-02-07 23:39, joakimds@kth.se wrote: > I would recommend tracing to "debug" what your application is doing (either print messages to standard out or logging to a file). In a multi-task application I've preferred tracing for a long time over stepping through code using a debugger like gdb. I agree about tracing, but tracing too could be provided by the debugger, without necessity to alter the source code. Assuming the debugger is not the miserable mess GDB is. > When using the GNAT Pro version of GNAT I've never had any issue with gdb and it has worked very well to step through code using it. However, rarely I've managed to get it working with the community edition and in my mind I've just thought about it like "if I want to use the debugger dbg I should use GNAT Pro". Maybe others in the Ada community has had a more positive experience with gdb using GNAT CE? I never managed GDB working even in GNAT PRO. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de