neo-debugger
neo-debugger copied to clipboard
Engine State Fault: Index was outside the bounds of the array. [IndexOutOfRangeException]
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.