Debugger Expressions

Debugger watch expressions

The debugger watch evaluator is capable of evaluating most normal Beef expressions, including accessing properties and calling methods. In addition to those expressions, there are some special watch expressions supported.

Expression Description
{<number>} <expr> or {^<number>} <expr> Evaluate expression <number> entries up the call stack
{MethodName} <expr> Evaluate expression in the first method named MethodName up the call stack
{MethodName^<number>} <expr> Evaluate expression in the method number <number> named MethodName up the call stack
{*} <expr> Evaluate expression in the first call stack scope where the expression is valid

Format flags

The following flags can be added after a watch expression, separated by commas.

Flag Description
this=<expr> Set explicit ‘this’ value for expression
arraysize=<number> Display the expression as an array with <number> elements
<number> Display the expression as an array with <number> elements
d Decimal
s Ascii
s8 UTF8
s16 UTF16
s32 UTF32
na Hide pointers
nv No visualizers
x Hexadecimal (lowercase)
X Hexadecimal (uppercase)