Author Topic: Where can I see variables values at?  (Read 2855 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

  • Regular
  • ***
  • Posts: 395
  • L'ami de l'homme.The friend of man.
C::B  : svn11911, wx-3.1.1, plugins : QtPregen-2.7.2-sdk146
1-Vista Business Pack 2 32bits : gcc-8.1.0,
2-OpenSuse-15.1-Leap 64bits :  gcc-7.4.1,
=> !! The messages are translated by Deepl !!

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 2566
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: 12122
    • 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!]