Skip to content

Neo3 Preview 2 support

Pre-release
Pre-release
Compare
Choose a tag to compare
@devhawk devhawk released this 22 Jun 17:15
· 242 commits to master since this release

This preview release adds Neo 3 support to the Smart Contract Debugger. To install this release, download the associated .VSIX file and install it via the official VSCode documentation . A future version of this debugger will be available directly from the VSCode marketplace.

The Neo 3 debugger is not yet at feature parity with Neo 2. Still to be added to neo3:

  • multi-contract support #49
  • source file map #50
  • System.Runtime.GetScriptContainer always returns null #53
  • GetBlock and GetTransactionFromBlock not implemented #54
  • InteropInterface inspection #55

In order to use the debugger, you must use a smart contract compiler that generates the Neo debug info format. Unfortunately, debug info support wasn't added to the Neo 3 version of the NEON .NET smart contract compiler until after Neo 3 preview 2. This debugger release also includes a version of the NEON Neo 3 preview 2 compiler that also generates debug info. This specific NEON release was generated from a fork of the devpack-dotnet repo. Future previews and final release of NEON for Neo 3 will be released from the official devpack-dotnet repo.

Note, this release of NEON is named "neon3" to enable developers to install and use both Neo 2 and Neo 3 versions of NEON on the same machine.

To install this release of NEON, download the Neo.Neon3 package associated with this release, open a command prompt, change to the directory where you downloaded the package and execute the following command:

> dotnet tool install -g Neo.neon3 --add-source . --version 3.0.0-preview2