From: Brad Moore <brad.moore@shaw.ca>
Subject: Re: Quick Question about GPS IDE
Date: Mon, 29 Dec 2014 09:52:28 -0700
Date: 2014-12-29T09:52:28-07:00 [thread overview]
Message-ID: <gFfow.412614$W25.337933@fx02.iad> (raw)
In-Reply-To: <85a926u74r.fsf@stephe-leake.org>
On 14-12-29 02:39 AM, Stephen Leake wrote:
> "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> writes:
>
>> On Sun, 28 Dec 2014 23:21:20 +0100, J-P. Rosen wrote:
>>
>>> Le 28/12/2014 13:41, Dmitry A. Kazakov a écrit :
>>>> Its gdb is totally unusable in any real-life sized project. You will not be
>>>> able to initialize the program and set a break point, as simple as this.
>>> ???
>>> Debug/Initialize, then click in the left margin in front of the line
>>> where you want to set a breakpoint. Looks like simple and intuitive...
>>>
>>> Note: I rarely use debuggers in general,
>>
>> That's why you believe it would work.
>>
>>> but I can't let such an
>>> incorrect information without a rebutal...
>>
>> 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.
>
> Just for the record, I use gdb fairly often, on real projects (a NASA
> simulator, home projects), and have _never_ had these issues. I've run
> it on Lynx (a real-time OS) both natively and via the remote interface,
> on Windows, Red Hat and Debian.
>
> So it depends on the details of your project.
>
I've also used it to debug large multi-threaded distributed systems,
both within GPS and Ada, and outside of Ada and GPS (C and C++), and
have found it to be a useful tool. I also have not seen the issues
mentioned. I've also used the Visual Studio debugger, and offhand
haven't seen any significant difference between the two environments.
There may be finer details that highlight one over the other, but if so,
I haven't noticed them. Overall, I think they are fairly comparable. One
nice feature of gdb that I think Visual Studio lacks is that it can also
be used in a console window without a GUI, which I've found to be useful
at times when debugging on an embedded platform, though gdb also
supports remote debugging with a GUI.
So I basically disagree with the claim that it is totally unusable in
practice.
next prev parent reply other threads:[~2014-12-29 16:52 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
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 [this message]
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