Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: const451 on September 05, 2012, 08:34:18 pm

Title: I want to see the value of a variable by hovering over it
Post by: const451 on September 05, 2012, 08:34:18 pm
Hello,

I want to see the value of a variable by hovering over it. Is it possible in CB?

Thank you.
Title: Re: I want to see the value of a variable by hovering over it
Post by: oBFusCATed on September 05, 2012, 08:35:57 pm
Yes, but it depend on the version you are using.
Title: Re: I want to see the value of a variable by hovering over it
Post by: const451 on September 05, 2012, 08:41:19 pm
It's version 10.05 for Linux.
Title: Re: I want to see the value of a variable by hovering over it
Post by: oBFusCATed on September 05, 2012, 08:53:15 pm
This version is rather limited, but you can enable this feature in settings -> compiler & debugger -> debugger -> evaluate expression under cursor
I advise you to upgrade to a recent nightly build if you want a decent debugger experience. 10.05 is rather poor.
Title: Re: I want to see the value of a variable by hovering over it
Post by: const451 on September 05, 2012, 09:33:13 pm
It worked - thank you.

I can see debugging is a bit painful in 10.05. I looked at nightly builds but the binaries are only for Windows. Is there a place I can download for Linux? I am on Ubuntu 64.
Title: Re: I want to see the value of a variable by hovering over it
Post by: oBFusCATed on September 05, 2012, 09:44:10 pm
Yes, search the forum, there are 2-3 options available.
Title: Re: I want to see the value of a variable by hovering over it
Post by: const451 on September 05, 2012, 11:02:11 pm
I see, thank you.