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

VM CLI debug sessions

Open AnnaShaleva opened this issue 3 years ago • 0 comments

  1. Currently loadnef and loadgo commands perform dynamic script loading which makes subsequent method run fail on notification emission or storage context access (see https://github.com/nspcc-dev/neo-go/pull/2824#issue-1466185629 and https://github.com/nspcc-dev/neo-go/pull/2824#discussion_r1033530726). 6bf9856c16a475961fd3832575f3d01a42967552 is not enough, we need to implement debug sessions to be able to deploy the contract firstly and call its method afterwards.
  2. We also need an ability to perform calls/invoke scripts based on some previous VM state got from other script invocation. It can also be implemented via debug sessions mechanism and it's a useful feature for contract debugging. Requested by @carpawell.

AnnaShaleva avatar Nov 28 '22 13:11 AnnaShaleva