diff --git a/eth/main.cpp b/eth/main.cpp index 24520d8c4..67058a473 100644 --- a/eth/main.cpp +++ b/eth/main.cpp @@ -910,7 +910,12 @@ void interactiveMode(eth::Client* c, std::shared_ptr gasP f << endl << " STACK" << endl; for (auto i: vm->stack()) f << (h256)i << endl; - f << " MEMORY" << endl << dev::memDump(vm->memory()); + std::string memDump = ( + (vm->memory().size() > 1000) ? + " mem size greater than 1000 bytes " : + dev::memDump(vm->memory()) + ); + f << " MEMORY" << endl << memDump; f << " STORAGE" << endl; for (auto const& i: ext->state().storage(ext->myAddress)) f << showbase << hex << i.first << ": " << i.second << endl;