RE: GPS Debug Problems
"Umut DURAK" <[email protected]> Fri, 27 May 2005 12:24:16 +0300
| Newsgroups | gmane.comp.ide.gps.user |
|---|---|
| Message-ID | <03BF35C52BDB6E4A9B8474883357CAA7011504E0@SAGEMAIL.sage.tubitak.gov.tr> |
I think I found the pronlem. Problem seems to be the casing. Gdb converts everything to lower case. İf i ask gdb top pring the related variable in lower case it returs th value. But if i ask the variable in the original casing (it is always mixed because of styling issues)then it says "No symbol "variabl_name" in current context". In GPS case, i think gps always asks the variables in their original casing in print and display operations and it causes the problem. Any suggestion to solve it? -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Nicolas Setton Sent: Thursday, May 26, 2005 8:07 PM To: Umut DURAK Cc: gps-users Subject: Re: [gps-users] GPS Debug Problems 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_______________________________________________ gps-users mailing list [email protected] http://lists.adacore.com/mailman/listinfo/gps-users