Open iamwilhelm opened 5 years ago
Debugger doesn't work with vyper contracts
The embark console debug doesn't show the code nor the local variables when attempting to step into it.
Using the following contract:
storedData: public(uint256) @public def set(x: uint256): y: uint256 = x + 10 z: uint256 = y * 2 self.storedData = z @public @constant def get() -> uint256: return self.storedData
I expect there to be some code listing and the ability to inspect the local variables with 'vl'
$ embark run
Do I have to use vyper-debug somehow with this?
OS: MacOs 10.13.6 Embark Version: 4.0.2 Node Version: 9.5.0 NPM Version: 6.5.0
npm -g install embark
@iamwilhelm the debugger does not currently work with vyper, sorry about that. You can use vyper-debug in the meanwhile however.
Bug Report
Summary
Debugger doesn't work with vyper contracts
Current behavior
The embark console debug doesn't show the code nor the local variables when attempting to step into it.
How to reproduce
Using the following contract:
Expected behavior
I expect there to be some code listing and the ability to inspect the local variables with 'vl'
If you encounter an error, please create a logfile using the following command and post the output here
Do I have to use vyper-debug somehow with this?
Please provide additional information about your system
OS: MacOs 10.13.6 Embark Version: 4.0.2 Node Version: 9.5.0 NPM Version: 6.5.0
Sometimes issues are related to Embark's installation. Can you provide information on how Embark was installed?