Re: GPS Debug Problems

Nicolas Setton <[email protected]> Thu, 26 May 2005 19:06:41 +0200
Newsgroups gmane.comp.ide.gps.user
Message-ID <[email protected]>
Hello Utmut,

> I am running on GPS 3.0.0 hosted on i686-pc-linux-gnu and GNAT  
> 3.4.3 20041212(RedHat 3.4.9.EL4). When i try to debug a code, at  
> first as i start the debug i get "Language unknown, defaulting to  
> C:mininmal" in Messages tab and "Current language: autı; currently  
> minimal" in Debug Console. I think they are no good as far as i  
> can't figure out why.
> Then as i tried to print a variable in Debug Console again it says  
> that No symbol "variabl_name" in current context". it is in the  
> context. i compiled and build with debug switch. Then when i try to  
> display it, it says in Messages "Could not get the type of  
> 'variable_name'".
> Anything wrong with me? I mean, do i miss to set something or any  
> problem with GPS?

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

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

Cheers,

Nico