in reply to Re: Peek a hash without breaking iterator
in thread Peek a hash without breaking iterator

Heheh, another one , hurricup is creating the debugger, hes writing the debugger, he cannot change the users code to suit the debugger,
  • Comment on Re^2: Peek a hash without breaking iterator

Replies are listed 'Best First'.
Re^3: Peek a hash without breaking iterator
by anonymized user 468275 (Curate) on Jun 21, 2016 at 10:30 UTC
    Actually he IS changing the user's code to effect debugging. As I understand it he is effectively inserting a command to copy the hash into the code he is debugging. So in fact a custom implementation of each is still one way to stop the real one breaking.

    One world, one people

      How? Code is running, enter inside loop, hash copy resets iterator. Too late for simulation. You mean add simulator before loop, through magic, before its needed because its ok to reset iterator at that point? How many frames back is safe? Too much overhead?