neo-debugger icon indicating copy to clipboard operation
neo-debugger copied to clipboard

Engine State Fault: Index was outside the bounds of the array. [IndexOutOfRangeException]

Open djnicholson opened this issue 5 years ago • 0 comments

I have a trivial smart contract with the following as the first line:

var tx = (Transaction) ExecutionEngine.ScriptContainer;

When I step over that line in the debugger I see the following in the VS Code debug console:

Engine State Fault: Index was outside the bounds of the array. [IndexOutOfRangeException]

It would be helpful to have a more meaningful error that advises me how to change my launch config so I can debug such code.

djnicholson avatar Jan 02 '21 18:01 djnicholson