I'm playing with re-entrancy business: https://medium.com/@gus_tavo_guim/reentrancy-attack-on-smart-contracts-how-to-identify-the-exploitable-and-an-example-of-an-attack-4470a2d8dfe4

Just curious if there is a way of inspecting msg.value in Remix?

Is it just me or maybe I'm missing something obvious...

enter image description here

  • what do you mean by inspecting?
    – Jaime
    Commented Jun 9, 2018 at 20:54
  • inspecting = showing value, displaying the current state Commented Jun 9, 2018 at 21:00

1 Answer 1


You can assign the value to a public variable (in both cases) and then see the value of the variable. This makes sense for debugging only.

enter image description here

  • Nice little hack :) Commented Jun 9, 2018 at 21:40

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.