I have a VSPackage that I would like to get information similar to that shown in the locals window when in debug mode (the values of variables for the current context).
I have been experimenting with the DTE.Debugger.CurrentStackFrame instance which looked interesting because it exposed Argument and Local collections of expressions. However, I can't see a way of getting the value of an expression as an object - the Value property just seems to be the ToString value.
Any ideas?