comp.lang.ada
 help / color / mirror / Atom feed
From: "J-P. Rosen" <rosen@adalog.fr>
Subject: Re: Ada Community and GDB/Python problems
Date: Sat, 8 Feb 2020 07:19:28 +0100
Date: 2020-02-08T07:19:28+01:00	[thread overview]
Message-ID: <r1ljtf$ceh$1@dont-email.me> (raw)
In-Reply-To: <4cc63bc8-ff8a-4f9e-8649-4e50d7448674@googlegroups.com>

Le 07/02/2020 à 23:39, joakimds@kth.se a écrit :
> 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, I use tracing every day, and gdb no more than 2-3 times a year.
Not that there is any problem with gdb, but (at least for my kind of
debugging), I find tracing more efficient.

<plug>Especially if you are using multiple tasks, I recommend the
"Debug" package that you can get (free) from
http://adalog.fr/en/components.html#Debug

Among other things, it shows task switches and allows you to trace
protected calls (reminder: you are not allowed to print from within a
protected operation).

-- 
J-P. Rosen
Adalog
2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX
Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00
http://www.adalog.fr

  reply	other threads:[~2020-02-08  6:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-06 19:49 Ada Community and GDB/Python problems Rick Newbie
2020-02-07 22:39 ` joakimds
2020-02-08  6:19   ` J-P. Rosen [this message]
2020-02-09 17:28     ` Rick Newbie
2020-02-08 10:27   ` Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox