comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: A new universe of Ada
Date: Mon, 26 Sep 2022 09:41:12 +0200	[thread overview]
Message-ID: <tgrl2q$1330$1@gioia.aioe.org> (raw)
In-Reply-To: 41ea7a4d-5c01-458d-98c3-1d671805b88fn@googlegroups.com

On 2022-09-26 09:11, Rick Duley wrote:
> You missed the point, Dmitry.    Showing me the code for Hello_World does not show me how to create the program using Gnat Studio.

Hmm, programs are created by typing them in an editor...

> Firstly, I do not understand the concept of a _Project_.

Project is an executable or shared/static library.

> Until a couple of days ago I had never heard the term in reference to Ada Programming.

It always existed. E.g. Ada 83 Reference Manual called it "the program 
library". See ARM 83 (10.4)

> Secondly, I can write Hello_World.adb and have it included in my 'Project', I can even build it, but the only thing that will run is _Main_.

No, I provided the project file where the main procedure is called 
Hello_World.

> I cannot find any documentation about Studio which explains something as simple as the creation of Hello_World.exe.  Can you do that in Studio or is it purely ornamental?

I am not sure what you mean. I think one can create a new project in GPS 
by clicking File->New Project. I never do that. I create project *files* 
using Notepad++ or GPS editor as text file.

> Thirdly, I was never a good enough programmer to be able to write programs without bugs.  Perhaps you have reached that exalted stage but I certainly have not.  Therefore I have a need to debug.  How do I do that?

As I said, GPS has integrated support for GDB. Theoretically you should 
be able to do visual debugging. Click Debug->Initialize in GPS. In 
practice GDB is garbage, but that has nothing to do with either Ada or GPS.

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

  reply	other threads:[~2022-09-26  7:41 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-26  6:20 A new universe of Ada Rick Duley
2022-09-26  6:45 ` Dmitry A. Kazakov
2022-09-26  7:00   ` Rick Duley
2022-09-26  7:11   ` Rick Duley
2022-09-26  7:41     ` Dmitry A. Kazakov [this message]
2022-09-28 18:28       ` Stephen Leake
2022-09-28 20:08         ` Dmitry A. Kazakov
2022-09-29  0:31           ` Gautier write-only address
2022-09-29  8:51         ` G.B.
2022-09-26  8:17     ` Simon Wright
2022-09-26  7:27   ` Simon Wright
2022-09-26  7:45     ` Dmitry A. Kazakov
2022-09-26  8:04       ` Rick Duley
2022-09-26  9:16         ` Dmitry A. Kazakov
2022-09-26  9:33           ` Rick Duley
2022-09-27  2:35           ` Rick Duley
2022-09-27  6:27             ` Dmitry A. Kazakov
2022-09-27  6:43             ` J-P. Rosen
2022-09-27  7:44               ` Rick Duley
2022-09-27 16:04             ` Björn Lundin
2022-09-28 17:40   ` Stephen Leake
2022-09-26  7:28 ` G.B.
2022-09-26  9:30 ` Jeffrey R.Carter
2022-09-26  9:34   ` Rick Duley
2022-09-26  9:37     ` Jeffrey R.Carter
2022-09-26 11:08       ` Maxim Reznik
2022-09-26 13:23         ` Kevin Chadwick
2022-09-26 18:12           ` Rene
2022-09-27 10:10           ` Roger Mc
2022-09-27 11:40             ` Roger Mc
2022-09-27 14:10             ` Simon Wright
2022-09-27 17:09               ` Roger Mc
2022-09-27 20:26                 ` Simon Wright
2022-09-28 12:14                   ` Roger Mc
2022-09-28 12:54                     ` Roger Mc
2022-09-28 18:34       ` Stephen Leake
2022-09-26 19:44 ` Marius Amado-Alves
replies disabled

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