[dtrace-discuss] How does one access an application's local variables?

Jon Haslam Jonathan.Haslam at Sun.COM
Thu Jul 12 05:50:51 PDT 2007


Hi Liam,

> I know how to access an application's global variables, but can I also 
> access the local variables in an application?

As Adam mentioned in his reply, this isn't a particularly nice thing
to do really. I've put a small example up on my blog which demonstrates
the basic method used to achieve this. You can find it at:

http://blogs.sun.com/jonh/date/20070712

Hope it's of some use.

Jon.


More information about the dtrace-discuss mailing list