Sorry for my poor English. I just learn to build a dApp within vite, but it's difficult to start with the extension. The guide on your website https://vite.wiki/zh/tutorial/contract/debug.html#%E7%BC%96%E5%86%99%E5%90%88%E7%BA%A6%E4%BB%A3%E7%A0%81 told me to execute command soliditypp: Generage HelloWorld.solpp first but responded nothing. So I wrote a copy of the example showed in guide.
`pragma soliditypp ^0.4.2
contract HelloWorld {
event transfer(address indexed addr, uint256 amount);
onMessage SayHello(address addr) payable {
addr.transfer(msg.tokenId, msg.amount);
emit transfer(addr, msg.amount);
}
}`
Then I got an error.
TypeError: Cannot destructure property 'code' of '(intermediate value)' as it is null. at SolidityppDebugSession.<anonymous> (c:\Users\Kyousuke Ayukawa\.vscode\extensions\vitelabs.soliditypp-0.4.2\out\debugSession.js:99:21) at Generator.next (<anonymous>) at fulfilled (c:\Users\Kyousuke Ayukawa\.vscode\extensions\vitelabs.soliditypp-0.4.2\out\debugSession.js:4:58)
Could you please help me fix it? I am literally impressed by the features of block-lattice, and a better guide will be very helpful to developers. Thanks.
Sorry for my poor English. I just learn to build a dApp within vite, but it's difficult to start with the extension. The guide on your website https://vite.wiki/zh/tutorial/contract/debug.html#%E7%BC%96%E5%86%99%E5%90%88%E7%BA%A6%E4%BB%A3%E7%A0%81 told me to execute command soliditypp: Generage HelloWorld.solpp first but responded nothing. So I wrote a copy of the example showed in guide.
`pragma soliditypp ^0.4.2
contract HelloWorld {
event transfer(address indexed addr, uint256 amount);
onMessage SayHello(address addr) payable {
addr.transfer(msg.tokenId, msg.amount);
emit transfer(addr, msg.amount);
}
}`
Then I got an error.
TypeError: Cannot destructure property 'code' of '(intermediate value)' as it is null. at SolidityppDebugSession.<anonymous> (c:\Users\Kyousuke Ayukawa\.vscode\extensions\vitelabs.soliditypp-0.4.2\out\debugSession.js:99:21) at Generator.next (<anonymous>) at fulfilled (c:\Users\Kyousuke Ayukawa\.vscode\extensions\vitelabs.soliditypp-0.4.2\out\debugSession.js:4:58)Could you please help me fix it? I am literally impressed by the features of block-lattice, and a better guide will be very helpful to developers. Thanks.