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


    string public name;

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

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, privacy policy and cookie policy

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