Expressions window

To open the window use: Debug->Expressions...

Examples of possible expressions in TCL:

  • variablename: Enter the name of a variable
  • $variablename+4: Enter a expression like the ones accepted by expr
  • [lindex $variablename 2]: Enter any command between brackets
  • [set variablename 6]: modify variable

Examples of possible expressions in C++:

  • variablename: Enter the name of a variable
  • $variablename+4: Enter any expression that gdb accepts
  • $variablename[4:2][6::8]: One extension to the gdb expressions. Permmits to print part of a string or vector

Previous page

Up page

Next page

Expressions window