Questions tagged [gnat-gps]

The GNAT Programming Studio, gnat-gps, is an open source integrated development environment.

The GNAT Programming Studio, gnat-gps, is an open source integrated development environment popular among users of the Ada programming language. It is developed by AdaCore and is available for Linux, Windows and OS X.

90 questions
0
votes
0 answers

GNAT GPS debugger-cannot set value to variables

I am not able to set value to any variables in GPS debugger. I am able to print the value or display the value but I am not able to set (change) the value for any of the variables. Could it be because of building with 'O2' optimizations? If I right…
boon
  • 345
  • 1
  • 4
  • 11
0
votes
2 answers

GPS not showing GTKAda application on Build & Run

I was wanting to play a bit with GPS am using the following program which is just from a template generated by GPS. When I try to Build & Run I see no Window, however if I navigate to the folder where the executable was made, I can run the…
jacob
  • 4,656
  • 1
  • 23
  • 32
0
votes
1 answer

SIM5360E GPS/GSM Module UART communication

While I'm connecting the SIM5360E module with USB to uart converter and am sending at+commands through putty, I am getting some null values as shown below. Please help me to rectify the issue: AT+CGPS=1,1 AT+CGPSINFO result …
0
votes
1 answer

The OS Shell is not toggle-able in my GPS tools menu, How do I enable it?

I'm new to Ada and I installed GPS. I'd like to see the OS Shell but it is grayed out. All I could find is that it has to do with a file shell.py, but I cannot find this anywhere in my GPS folder. Can anyone help me out?
0
votes
1 answer

GNAT GPS plug-in: Action object has no attribute button

I'm writing GPS.Action("Copy to Clipboard").button(toolbar='Messages', label='Copy') which is exactly how it is documented here: http://docs.adacore.com/gps-docs/users_guide/_build/html/GPS.html#GPS.Action.create but I'm getting the error:…
123456
  • 113
  • 8
0
votes
1 answer

GNAT GPS debugger data window does not show data values

When using the GNAT GPS debugger on a gpr file, when I try to display a value in the debugger data window it never shows the value, just the variable name. I'm assuming since I haven't seen anything on this issue in some other website, that I'm…
0
votes
0 answers

GNAT-GPS 2015 and cygwin.S issue

I am running an Ada project in GPS-GNAT 2015 that has a C++ User Interface and when debugging I reach the point where I attempt to send data from Ada to the C++ window however I am receiving an error: __chkstk_ms ()…
0
votes
1 answer

GPS-GNAT 2006 not working well on Windows 7

I am working on a project developed in ADA on windows xp using GPS-GNAT 2006 and must port it to windows 7 however when trying to upgrade to a newer version of GPS-GNAT (2008+) the ada code throws exceptions, but on the 2006 version it runs but…
0
votes
2 answers

Setting a default list of items in project_attribute in a GNAT GPS Plugin

I'm working on a custom GNAT GPS plugin (for GPS 6.1.2). My plugin XML creates a project attribute "example_list_of_files". This is a list of strings, that correspond the names of Ada files in the project. I want to default the entries in that list…
Matt
  • 134
  • 15
0
votes
1 answer

how to compile against external library ali files from GPS with gnatmake

I'm trying to create a simple project in GPS environment and compile it against the ORBExpress packages. The orbexpress directory contains a subdirectory "include" with .ads file and another subdirectory "lib" with .ali files. The toolchain that is…
Anorflame
  • 376
  • 3
  • 12
0
votes
1 answer

What are the default arguments in GPS's Build>Run command?

In step 9 of the GPS tutorial I hit Build > Run and the "Run Main" dialog had filled in a bunch of command-line options like builder%% -s blahblahblah %T. Putting the argument "input.txt" at the end of that raised an exception, so I deleted it and…
Noumenon
  • 5,099
  • 4
  • 53
  • 73
0
votes
1 answer

GNAT GPS plug-in: Get selected line in Locations

I'm doing a python plug-in to GNAT GPS IDE. It uses the Locations window to shows a messages to the user, therefore highlighting a file line, like errors do. I use GPS.Locations.parse() to add such information, the (somewhat hazy) documentation is…
Pedro Witzel
  • 368
  • 3
  • 14
0
votes
1 answer

Ada 2012 and the GNAT GPS IDE Debugger Can't Find Source File

I'm working with a simple hello world single .adb file program in Ada 2012 using the GPS IDE under Windows 7/64. If I keep all the object and source files together everything works. I did have to go to the project properties Switches tab and select…
Tod
  • 8,192
  • 5
  • 52
  • 93
0
votes
1 answer

How do I specify an include directory in ADA GPS

I was given an Ada source file from a co-worker to include in an existing project. This source file wants to include the win32.ads which I see in c:\gnatpro\include\win32ada . But my installation of GnatPro doesn't look into this folder area, only…
erict
  • 1,394
  • 2
  • 14
  • 28
0
votes
1 answer

GNAT GPS Could not determine target to build

I'm struggling with a custom project file that will build and execute, but I get this set of warnings (or errors, I'm not sure). After a Clean All and then when I click the Build -> Project -> Build All to bring up the Build All dialog…
Jim
  • 5,940
  • 9
  • 44
  • 91