Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: Mars_999 on February 11, 2013, 05:17:01 am

Title: Where can I see variables values at?
Post by: Mars_999 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....
Title: Re: Where can I see variables values at?
Post by: LETARTARE on February 11, 2013, 09:23:10 am
you can see
http://wiki.codeblocks.org/index.php?title=Debugging_with_Code::Blocks (http://wiki.codeblocks.org/index.php?title=Debugging_with_Code::Blocks)
Title: Re: Where can I see variables values at?
Post by: BlueHazzard 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
Title: Re: Where can I see variables values at?
Post by: Mars_999 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!
Title: Re: Where can I see variables values at?
Post by: Mars_999 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!
Title: Re: Where can I see variables values at?
Post by: oBFusCATed on February 15, 2013, 08:24:40 am
You need to install python pretty printers for stl. Search the forum for information.