Skip to content

Neo 3 Preview 5 Support

Pre-release
Pre-release
Compare
Choose a tag to compare
@devhawk devhawk released this 08 Feb 19:08
· 191 commits to master since this release

This preview release adds Neo 3 preview 5 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 extensions will be available directly from the VSCode marketplace.

To use the debugger, you must use a smart contract compiler that generates the Neo debug info format. The official NEON compiler for .NET produces this debug info. To install the NEON for Neo 3 preview 5 compiler from nuget.org as a .NET global tool, execute the following command from a terminal window:

> dotnet tool install -g neo.neon --version 3.0.0-preview5

Note, you can only have one version of NEON installed globally on your machine at a time. If you need to use both NEON for Neo 2 and Neo 3 on the same machine, at least one of them must be setup as a .NET local tool. For reference, @devhawk's registrar-sample repo uses NEON for Neo 3 as a local tool.

Note, as of Neo 3 preview 5, the Neo 3 project has updated to use .NET 5.0. As such, debugging Neo 3 contracts as of this version of neo-debugger requires .NET 5.0. Debugging Neo 2 contracts continues to require .NET Core 3.1.