🤔 Got questions? Schedule an office hours session.
Debugger
Evaluate Expression

Evaluate Expression

Evaluate Expression is a tool in Debugger that allows you to evaluate expressions in the execution trace. You can assess complex expressions in smart contracts, including dynamic arrays, mappings, state variables, functions, and both global and local variables. Learn more about how Evaluate works.

To access the Evaluate feature, click on any transaction, then go to the Debugger, and click on the Evaluate button.

The Evaluate feature is currently only supported for Solidity contracts, and we’re working on supporting Eval for Vyper contracts as well. Choose any expression you want to evaluate, paste it into the box and hit the Evaluate button:

This works for both simple and complex expressions:

You can read more about other Debugger features and Advanced Trace Search here and here.