From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Received: by 2002:a6b:7d09:: with SMTP id c9mr20557221ioq.245.1559647613254; Tue, 04 Jun 2019 04:26:53 -0700 (PDT) X-Received: by 2002:a9d:77c9:: with SMTP id w9mr1796701otl.16.1559647613083; Tue, 04 Jun 2019 04:26:53 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!g15no32648itd.0!news-out.google.com!l135ni171itc.0!nntp.google.com!g15no32646itd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 4 Jun 2019 04:26:52 -0700 (PDT) In-Reply-To: <5be2c715-6f02-426f-b046-ceea3ed986c0@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=101.164.108.182; posting-account=wavAeAoAAAAZF_sXSZepBukuPCBO0Zqt NNTP-Posting-Host: 101.164.108.182 References: <5be2c715-6f02-426f-b046-ceea3ed986c0@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <38986c0b-ef12-4d3d-bbc9-818c1b14d8ef@googlegroups.com> Subject: Re: No symbol table loaded - GNAT Community 2019 From: alby.gamper@gmail.com Injection-Date: Tue, 04 Jun 2019 11:26:53 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:56458 Date: 2019-06-04T04:26:52-07:00 List-Id: On Monday, June 3, 2019 at 12:38:29 PM UTC+10, Ricardo Brand=C3=A3o wrote: > Hi, >=20 > I'm starting in Ada. The first thing I did was install GNAT Community 201= 9 on my computer with Windows 10: >=20 > See below a copy of about box: >=20 > GPS 19.1 (20190106) hosted on x86_64-pc-mingw32 > GNAT Community 2019 (20190517-83) >=20 > the GNAT Programming Studio >=20 > (c) 2001-2019 AdaCore >=20 > So, I was following the tutorial of Ada Core site, and at Debug section [= 1] I didn't get see the debug working. >=20 > The steps (following the tutorial): > 1. Clicked on Build & Debug sdc.adb toolbar button. > 2. On the call stack window, clicked on the menu (three lines on the top = right corner) and mark Show Frame Number. > 3. Clicked on the Debug continue button and type input.txt in the text in= put field.=20 > 4. Here I found the first thing different: the tutorial ask to check =E2= =80=98Stop at beginning of main subprogram=E2=80=99 and uncheck =E2=80=98Us= e exec dir instead of current dir=E2=80=99. Only =E2=80=98Use exec dir inst= ead of current dir=E2=80=99 could be found. > 5. But I clicked Ok to continue. >=20 > And the problem: when clicked ok, I got the message: >=20 > file D:/GNAT/2019/share/examples/gps/tutorial/obj/sdc.exe > (gdb) catch exception > (gdb) start input.txt > (gdb) No symbol table loaded. Use the "file" command. >=20 >=20 > Looking the output on Messages tab, I could see the gprbuild output: >=20 > gprbuild -d -PD:\GNAT\2019\share\examples\gps\tutorial\sdc.gpr -XBuild=3D= DEBUG >=20 > Is there any problem with GNAT installation?=20 >=20 > Thanks >=20 > [1] http://docs.adacore.com/live/wave/gps/html/gps_tutorial/debug.html >=20 > -- > Ricardo Brand=C3=A3o Hi Ricardo GPS for new comer's can/may be a struggle depending on what other IDE you a= re familiar with, as they all tend to be different to a lesser or larger degre= e=20 depending on their pedigree, be it Emacs, Eclipse, Visual Code, JetBrains I= DE's or Visual Studio. Their are a few add-in's to the above IDE's that may suit you better, depen= ding on your IDE of choice, these being 1) Emacs - https://groups.google.com/forum/#!topic/comp.lang.ada/FaYk4LzQG7= E 2) Eclipse - I believe Adacore had/have a plugin ? 3) Visual Code - Their are few plugins for Ada available, which includes a = LSP (ie intellisense capabilities) 3) JetBrains - ? 4) Visual Studio 2017/2019 - Their is a plugin called "VisualAda" available= at=20 https://marketplace.visualstudio.com/items?itemName=3DAlexGamper.VisualAda If you advise us on what your preference is (WRT IDE of choice) then we can better advise you, as their are a few choices available to you, be it GPS o= r any of the above. Alex