Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Peek a hash without breaking iterator

by Anonymous Monk
on Jun 21, 2016 at 09:18 UTC ( [id://1166170]=note: print w/replies, xml ) Need Help??


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?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1166170]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-19 01:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found