On 11/09/2012 04:57 PM, J-P. Rosen wrote:
>> What I see in the Messages window is the Python traceback that I showed
>> my earlier posts. I don't see anything that looks like Adactl output.
> They should be before the Python traceback
There is nothing before the traceback. To be precise this is what I see
in the Messages window after starting GPS and then trying to run Adactl
on one of my open files:
======
Welcome to GPS 5.1.1 (20111220) hosted on x86_64-pc-linux-gnu
the GNAT Programming Studio
This is the GPS GPL Edition.
For professional needs, use the GPS version supplied with GNAT Pro.
For details contact us at
sa...@adacore.com
(c) 2001-2011 AdaCore
Auto-VCS: using Subversion
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/peter/local/gnat/share/gps/plug-ins/adactl.py", line 453,
in run
parse (result)
File "/home/peter/local/gnat/share/gps/plug-ins/adactl.py", line 87,
in parse
list.sort(sloc_cmp)
File "/home/peter/local/gnat/share/gps/plug-ins/adactl.py", line 84,
in sloc_cmp
return cmp (int(ls[2+Offset]), int(rs[2+Offset]))
ValueError: invalid literal for int() with base 10: 'Error'
======
Not sure if that information is useful at all.
> You can run AdaControl on a command line (in Gnat format), save the
> output to a file, and then load the file in GPS. You will still enjoy
> the interactive display of errors.
Thanks for the tip. I'll check it out!
Peter