I'm trying to create a Visual Studio Integration Package project which will display data from the debugger.
So I found the EnvDTE namespace, that looks to give me the needed classes and methods.
According to the documentation for VS2005, the following code should be used to get an instance of the debugger:
EnvDTE.Debugger _debugger;
_debugger = EnvDTE.DTE.Debugger;
But this generates an error in VS2010 - An object reference is required for the non-static field, method, or property 'EnvDTE._DTE.Debugger.get'
How can I interrogate the debugger in VS2010?
Thanks in advance.