comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Quick Question about GPS IDE
Date: Mon, 29 Dec 2014 10:19:12 +0100
Date: 2014-12-29T10:19:12+01:00	[thread overview]
Message-ID: <wel3ew5y0ogf.1s2vig6yf00g$.dlg@40tude.net> (raw)
In-Reply-To: m7r0va$fti$1@dont-email.me

On Mon, 29 Dec 2014 08:48:15 +0100, J-P. Rosen wrote:

> Le 28/12/2014 23:45, Dmitry A. Kazakov a écrit :
>> As I said, in a real size project you either will not be able to set the
>> breakpoint after you initialize or else it will not stop at the breakpoint.
>> Actually it will not stop anywhere. I don't know if that depends on the
>> size or on libraries used, maybe on both. Even when you could set a
>> breakpoint you not guaranteed to be able to debug the program. It can go
>> mad at any time, while stepping through etc. The fact is, it is totally
>> unusable in practice.
> 
> I think AdaControl qualifies as a "real size project", and I never
> experienced what you describe.

I said that I don't know why this happens. It is possible that in a plain
program of any size that uses nothing but Ada.Text_IO, it would not happen.
Maybe libraries is the reason, maybe the number of subcomponents and
sub-projects, I have no idea.

> So please tell that YOU experienced
> problems, 

It would be strange to suggest otherwise.

> but don't make general statements that gdb is unusable.

Since in *none* of the projects I maintain gdb does not work, I feel
obliged to warn others.

> Moreover, GPS is just a front-end to gdb, and gdb is presumably the most
> used debugger in the world (at least in the world of free software). If
> it were that bad, it would have been fixed...

Just like C, just like C...

gdb never ever worked in GPS. Even if it did, it is poorly integrated into
GPS. Breakpoints are not saved, "Initialize" should never existed. The
session shall never stop at the first program "instruction". The GPS
windows layout *shall not* change when a session starts or ends. There no
re-run button, no decent values watch tabs persistent between sessions, no
usable conditional breakpoints. It shall understand pdb files, without that
it is pretty much useless, again in real projects.

I don't blame AdaCore for this and never reported gdb issues to them,
because, clearly to me, it would be wasting scarce resources AdaCore has on
a thing which I don't believe were fixable.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de


  reply	other threads:[~2014-12-29  9:19 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-28  8:22 Quick Question about GPS IDE Hubert
2014-12-28  8:43 ` Dmitry A. Kazakov
2014-12-28  8:54   ` Hubert
2014-12-28  9:20     ` Dmitry A. Kazakov
2014-12-28 10:29       ` Hubert
2014-12-28 10:48         ` Dmitry A. Kazakov
2014-12-28 12:15           ` Hubert
2014-12-28 12:41             ` Dmitry A. Kazakov
2014-12-28 22:21               ` J-P. Rosen
2014-12-28 22:45                 ` Dmitry A. Kazakov
2014-12-29  7:48                   ` J-P. Rosen
2014-12-29  9:19                     ` Dmitry A. Kazakov [this message]
2014-12-29 21:06                       ` ake.ragnar.dahlgren
2014-12-29 23:51                         ` Brad Moore
2014-12-31  0:39                           ` ake.ragnar.dahlgren
2014-12-31  1:21                           ` Hubert
2014-12-29 15:03                     ` Shark8
2014-12-29  9:39                   ` Stephen Leake
2014-12-29 16:52                     ` Brad Moore
2014-12-29  2:42               ` Hubert
2014-12-28 15:52           ` Britt
2014-12-28 16:16             ` Dmitry A. Kazakov
2014-12-28 18:08               ` Anh Vo
2014-12-28 17:56           ` Anh Vo
2014-12-28 16:04     ` Britt
replies disabled

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