From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!reader01.eternal-september.org!aioe.org!epJzlJsZWlp1WuFmYLlBpQ.user.46.165.242.91.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: A new universe of Ada Date: Mon, 26 Sep 2022 09:41:12 +0200 Organization: Aioe.org NNTP Server Message-ID: References: <41ea7a4d-5c01-458d-98c3-1d671805b88fn@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: gioia.aioe.org; logging-data="35936"; posting-host="epJzlJsZWlp1WuFmYLlBpQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.13.1 Content-Language: en-US X-Notice: Filtered by postfilter v. 0.9.2 Xref: reader01.eternal-september.org comp.lang.ada:64410 List-Id: 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