Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Will the debugger show variable values?
Will the debugger show variable values? [message #165809] Tue, 14 March 2006 07:51 Go to next message
Eclipse UserFriend
Originally posted by: Bil.Lambdacs.com

I have been unable to find any way to display variable values
when in the debugger (GDB). I KNOW GDB can display variables.
But there is nothing in the documentation, nothing I could figure
out from the GUI, that will actually display variables in CDT.

??

-Bil







<B>(What does the msg board do with HTML tags?)</B>
Re: Will the debugger show variable values? [message #165874 is a reply to message #165809] Wed, 15 March 2006 11:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alexfarberov.[nospam]hotmail.com

http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/cdt- home/user/C_C++_Development_Toolkit_User_Guide.pdf?cvsroot=T ools_Project
In "Debug Information" there is an explanation...

If you only want to check one or two variables of interest, in debug
view, hover your mouse over the variable to see the values or highlight
them, right click and set a watch

Bil Lewis wrote:
> I have been unable to find any way to display variable values
> when in the debugger (GDB). I KNOW GDB can display variables.
> But there is nothing in the documentation, nothing I could figure
> out from the GUI, that will actually display variables in CDT.
>
> ??
>
> -Bil
>
>
>
>
>
>
>
> <B>(What does the msg board do with HTML tags?)</B>
>
Re: Will the debugger show variable values? [message #165905 is a reply to message #165874] Wed, 15 March 2006 18:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Bil.Lambdacs.com

Ah! That helps!



Now it's just a matter of it being so buggy as to be almost worthless. :-(

I notice that a char* displays as the first char only. And "Step Over"
sometimes
just jumps to mysterious places. And some things just display a popup
saying
something doesn't work. And this for a 100 line program. !@$!$!???

I used to work at Sun. DBX wasn't the most beautiful debugger, but by god
it worked.
I'm just horrified at the quality in Eclipse. What's the problem? :-(



Sorry, don't mean to be so negative. I do appreciate the guidance.
Sometimes "Don't
do that" is good advice.


-Bil
Re: Will the debugger show variable values? [message #165927 is a reply to message #165905] Thu, 16 March 2006 02:05 Go to previous message
Eclipse UserFriend
Hi Bill,

a few more hints:

> I notice that a char* displays as the first char only.

The tooltip for a char* displays the whole string. Also, if you select the
char* variable in the Variables view then the whole string will be displayed
in the details area of the Variables view.

> And "Step Over" sometimes
> just jumps to mysterious places.

I experienced that when I had some optimization switched on when compiling.
So eclipse just reflects the line number information and what your compiler
was doing.

Hope you have more joy now


Norbert
Previous Topic:error launching debugger
Next Topic:filtype highlighting
Goto Forum:
  


Current Time: Sat May 10 06:55:39 EDT 2025

Powered by FUDForum. Page generated in 0.03297 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top