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=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Trying to follow the GNAT GPS tutorial I have fallen at the first hurdle. :( Date: Sun, 24 Feb 2019 08:37:27 +0000 Organization: A noiseless patient Spider Message-ID: References: <562eafc9-3715-440b-9139-278d8793cdf2@googlegroups.com> <2ac32d38-f684-4955-94e1-c4ac61cdec6a@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="9e5c804943602d0ed25d3ce96b8e6a81"; logging-data="28110"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/eWpXT+/P0VANkqbgp9gUnZEaSddtrWPY=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (darwin) Cancel-Lock: sha1:8gkyjP8/hrldk/6vIc+WwFH3iA8= sha1:CuSaPfs471QQHAe92AXGoGfv6iA= Xref: reader01.eternal-september.org comp.lang.ada:55647 Date: 2019-02-24T08:37:27+00:00 List-Id: approximatecyberneticmechanism@gmail.com writes: > On Saturday, 23 February 2019 11:50:57 UTC, Simon Wright wrote: >> Simon Wright writes: >> >> > I think the tutorial is referring to a previous version of GPS? (not >> > 2017, though) >> >> It's the 2016 version. Will report. > > OK thanks but in the meantime where do I go for a tutorial on the 2018 > edition? Sorry, but I don't know. While following through on the tutorial accessed via the GPS help (I use Emacs mainly, thought I ought to at least look at GPS for once!) I noticed that * code completion wasn't immediately triggered by typing 'scr'; had to start it off by menu Code, Smart Completion * to get a dialog to run the program, I had to go to Prefs, Build Targets, Run, Run Main and change 'Launch mode' to 'Manually with dialog' * the build generates the executable in the object directory, which is one below the project directory, so the input file spec is actually '../input.txt' * Mojave, you said? there are issues with the debugger, see https://forward-in-code.blogspot.com/2018/11/mojave-vs-gdb.html (and even that has problems; for me, more often than not the debugger hangs after 'start' or 'run')