[GAP] Seeing double with GPS debugger

Carlisle, Martin C Dr. Civ USAF USAFA DF/DFCS martin.carlisle at usafa.edu
Wed Dec 19 23:21:26 CET 2007


The problem does NOT happen unless the path has a space in it.  This seems to be a problem with GPS.  All AdaGIDE does is run:

gps --debug=main.exe main.adb

Try doing this from the command-line in a folder with a space in it.

A workaround is to specify the "Target Directory" using Tools/Project Settings in Current Directory in AdaGIDE to the short path name (e.g. c:\d\mydocu~1\cs110)

--Martin

----------------------------------------------------
Dr. Martin C. Carlisle
Professor and Advisor-in-Charge
Department of Computer Science
United States Air Force Academy



-----Original Message-----
From: gap-bounces at gnat.info [mailto:gap-bounces at gnat.info] On Behalf Of John McCormick
Sent: Wednesday, December 19, 2007 10:03 AM
To: GNAT Academic Program discussion list
Subject: [GAP] Seeing double with GPS debugger

Next semester I'd like to introduce my data structures students to
the debugger.  We are using AdaGIDE.  When you invoke the debugger in
AdaGIDE, it brings up the GPS debugger and initializes it.  The
source file and the debugger console are displayed.  When I click on
the GO button, a second copy of the source file is displayed.  The
two copies of the source file behave differently.   The green
highlighting that indicates the line about to be executed is only
available in the second copy.  The red "stop signs" indicating a
breakpoint are only seen in the first copy.   I can set breakpoints
on the second copy, but they are only displayed on the first
copy.  Closing either one of the source copies does not transfer its
display abilities to the other.   Any ideas on how to change things
so that I can get both current line and breakpoints to be displayed
on a single copy of the source file?

John


_______________________________________________
GAP mailing list
GAP at gnat.info
/no-more-mailman.html
To unsubscribe from this list, please contact the GAP GNAT Tracker administrator
within your organization.


More information about the GAP mailing list