foundry icon indicating copy to clipboard operation
foundry copied to clipboard

feat(`debugger`): show values of variables in current scope during debugging

Open crisgarner opened this issue 3 years ago • 3 comments

Add some way to show the current value of the variables while debugging

crisgarner avatar Jan 10 '22 16:01 crisgarner

It would be nice if you could be more specific, do you mean like Watch expressions?

gakonst avatar Jan 11 '22 11:01 gakonst

I think the ask is to show the values of variables in the current scope, similar to how Truffle's debugger can output variables in scope (their v command).

onbjerg avatar Jan 12 '22 01:01 onbjerg

I think the ask is to show the values of variables in the current scope, similar to how Truffle's debugger can output variables in scope (their v command).

Exactly, just like the truffle visual debugger. Here is a screenshot from the visual debugger:

image

crisgarner avatar Jan 12 '22 01:01 crisgarner