epic - Perl: How to break on write-to-variable in Eclipse -
i have script writing entries hash. however, @ point entries exist in hash think should not. so, i've cocked somewhere, there 1 place think add elements in hash , i've tested make sure these "rogue" elements aren't being added @ location.
what break on write hash, this, in "global" kinda way because don't know stray write in code - can't see it...
so options? can set watch point in epic debugger , if how? (i've had play can;t find relevant).
or perhaps create extended hash can intercept writes somehow?
any ideas on "easy" debugging method. otherwise think i'll brute force debug :s in davance...
not epic-specific answer, check out tie::watch
. can setup variable (like hash) watched, , program can output every time variable updated.
updated: tie::trace
pretty same thing, simpler interface.
Comments
Post a Comment