Skip to content

Instantly share code, notes, and snippets.

@feuGeneA
Created May 25, 2018 21:00
Show Gist options
  • Save feuGeneA/936b5ef862ef14d596e650327ecd3493 to your computer and use it in GitHub Desktop.
Save feuGeneA/936b5ef862ef14d596e650327ecd3493 to your computer and use it in GitHub Desktop.
CDO.sol | 0xfed96569b2ec7a02e2e3e263dd17a8596f4e8189:
237: withdrawn += entitlement;
238:
239: principalToken.transferFrom(this, _to, entitlement);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
debug(development:0x2dd543c5...)> i
DummyToken.sol | 0x7ac0bbed634552f068e02b8638957106479ffb40:
5:
6:
7: contract DummyToken is MintableToken {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
debug(development:0x2dd543c5...)> ii
DummyToken.sol | 0x7ac0bbed634552f068e02b8638957106479ffb40:
27: function setBalance(address _target, uint _value) public onlyOwner {
28: uint currBalance = balanceOf(_target);
29: if (_value < currBalance) {
^^^^^^^^^^^^^^^^^^^^^^^^
debug(development:0x2dd543c5...)> i
TypeError: Cannot read property 'line' of undefined
at Debugger.hasMultiLineCodeRange (/home/gene/feuGeneA_assignment/node_modules/truffle/build/cli.bundled.js:323240:64)
at Debugger.stepInto (/home/gene/feuGeneA_assignment/node_modules/truffle/build/cli.bundled.js:323027:12)
at Object.interpreter (/home/gene/feuGeneA_assignment/node_modules/truffle/build/cli.bundled.js:318090:22)
at ReplManager.interpret (/home/gene/feuGeneA_assignment/node_modules/truffle/build/cli.bundled.js:203345:18)
at bound (domain.js:301:14)
at REPLServer.runBound [as eval] (domain.js:314:12)
at REPLServer.onLine (repl.js:468:10)
at emitOne (events.js:116:13)
at REPLServer.emit (events.js:211:7)
at REPLServer.Interface._onLine (readline.js:280:10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment