"Watching" all variables in a specific namespace?

[email protected] (Yuval Yaari) Sun, 10 Oct 2004 22:02:43 +0200
Newsgroups perl.debugger
Message-ID <[email protected]>
Hi,

I read Gabor's post about break-on-watch ( 
http://www.mail-archive.com/[email protected]/msg00020.html ).
There are 2 issues that I wish to solve:
I didn't see an answer if it's even possible to break on a watch (Gabor, 
did you manage to do it?).
I am unable to "watch" arrays, hashes, and anonymous references (e.g: $a 
= \5;).
In other words, I am only able to watch normal scalars.

I am trying to build a -d: debugger that would tell me when variables in 
a specific name space (or all namespaces) are defined/changed, and to 
what value.
In the case of references, I will display a Data::Dumper output.
I know how to watch a specific variable, but how can I watch all of them?
And more importantly, how can I watch array changes, hash changes, etc?

Thanks.

  --Yuval