2

Is it possible to inspect the transaction object 'msg' in the truffle debugger? When I step through the below and type :msg.value I get ReferenceError: msg is not defined

Code:

    string public name;

    function changeName(string newName) public payable {
       require(msg.value >= 1 ether);
       name = newName;
    }
1
  • without the code is a bit complicated to understand whats going on. But apparently the your variable is undefined
    – qbsp
    Commented Apr 21, 2018 at 4:38

1 Answer 1

2

This is currently unsupported - see issue https://github.com/trufflesuite/truffle-debugger/issues/32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.