Re:Python 3.4.0 released
by illumen on Tuesday March 18, 2014 @03:36AM
(#7420637)
tldr; 'watchpoints' in python can do this already(since before clojure existed), but it's not built into standard pdb.
You could do the allocator yourself with a custom allocator easily. Just inspect the object type or object id, and in your meta allocator select the correct allocator.
I'm not sure how that would help you with a CCL style WATCH though...
pdb, with set_trace or conditions on breakpoints could let you WATCH individual objects. Search google for watchpoints.
You could do the allocator yourself with a custom allocator easily. Just inspect the object type or object id, and in your meta allocator select the correct allocator.
I'm not sure how that would help you with a CCL style WATCH though...
pdb, with set_trace or conditions on breakpoints could let you WATCH individual objects. Search google for watchpoints.