Author Topic: Where can I see variables values at?  (Read 5071 times)

Offline Mars_999

  • Multiple posting newcomer
  • *
  • Posts: 11
Where can I see variables values at?
« on: February 11, 2013, 05:17:01 am »
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....

Offline LETARTARE

  • Lives here!
  • ****
  • Posts: 531
  • L'ami de l'homme.The friend of man.
    • LETARTARE
CB-13515, plugins-sdk-2.25.0 : Collector-2.0.0, AddOnForQt-3.9.6
1-Win7 Business Pack1 64bits : wx-3.2.4, gcc-8.1.0,
2-OpenSuse::Leap-15.4-64bits : wx-3.2.4;gtk3, gcc-8.2.1,
=> !! The messages are translated by Deepl

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: Where can I see variables values at?
« Reply #2 on: February 11, 2013, 07:12:39 pm »
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

Offline Mars_999

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: Where can I see variables values at?
« Reply #3 on: February 12, 2013, 08:05:21 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!

Offline Mars_999

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: Where can I see variables values at?
« Reply #4 on: February 15, 2013, 04:27:25 am »
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!

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Where can I see variables values at?
« Reply #5 on: February 15, 2013, 08:24:40 am »
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!]