For debugging a smart contract, it would be helpful to see all entries of an Array or Mapping object in the smart contract.
When using Truffle, I can see individual elements of a public array with valid index i by running
mycontract.myarray(i) but running
mycontract.myarray() yields a
This question indicated that getting the full readout is not straightforward because the getter functions for mappings and arrays expect index keys. However, has anyone found a way to do this in geth or Truffle?