News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Where can I see variables values at?

Started by Mars_999, February 11, 2013, 05:17:01 AM

Previous topic - Next topic

Mars_999

I am new to C::B somewhat and still can't find where I can list various variables to see what their current value or memory location is...

Thanks!

I don't know if C::B 12.11 can do like MSVC++ and just hover over the variable and click a + sign to access them or not....

LETARTARE

CB-13834, plugins-sdk-2.25.0 : Collector-2.6.5, AddOnForQt-5.1.2
1- Win7 Business Pack1 64bits : wx-3.2.8, gcc-15.2.0,
2- OpenSuse::Leap-15.6-64bits : wx-3.2.8;gtk3-u, gcc-15.2.0,
=> !! The messages are translated by 'Deepl'

BlueHazzard

Quote from: Mars_999 on February 11, 2013, 05:17:01 AM
I don't know if C::B 12.11 can do like MSVC++ and just hover over the variable and click a + sign to access them or not....

Settings->Debugger->GDB Debugger->Default -> Evaluate expression under cursor

Mars_999

Quote from: BlueHazzard on February 11, 2013, 07:12:39 PM
Quote from: Mars_999 on February 11, 2013, 05:17:01 AM
I don't know if C::B 12.11 can do like MSVC++ and just hover over the variable and click a + sign to access them or not....

Settings->Debugger->GDB Debugger->Default -> Evaluate expression under cursor

Thanks! to both of you great info!

Loving the C::B community so far very helpful!

Regards!

Mars_999

How come I can't see what values a std::map holds? I see the types but not the actual data? Anything special I need to enable to see what the std::map holds?

Thanks!

oBFusCATed

You need to install python pretty printers for stl. Search the forum for information.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]