[gps-users] GPS Debug Problems

Nicolas Setton setton at adacore.com
Thu May 26 19:06:41 CEST 2005


Hello Utmut,

> I am running on GPS 3.0.0 hosted on i686-pc-linux-gnu and GNAT =20
> 3.4.3 20041212(RedHat 3.4.9.EL4). When i try to debug a code, at =20
> first as i start the debug i get "Language unknown, defaulting to =20
> C:mininmal" in Messages tab and "Current language: aut=F5; currently =20=

> minimal" in Debug Console. I think they are no good as far as i =20
> can't figure out why.
> Then as i tried to print a variable in Debug Console again it says =20
> that No symbol "variabl_name" in current context". it is in the =20
> context. i compiled and build with debug switch. Then when i try to =20=

> display it, it says in Messages "Could not get the type of =20
> 'variable_name'".
> Anything wrong with me? I mean, do i miss to set something or any =20
> problem with GPS?

My guess is that either
   - you don't have an ada-aware version of "gdb" in your PATH (GPS =20
uses gdb as debugging engine), or
   - the debug information generated by your version of GNAT is not =20
correct

(but the first guess is more likely the right one)

Cheers,

Nico=


More information about the gps-users mailing list