Does anyone know the equivalent for doing this in Visual Studio 2008(EnvDTE90) and Visual Studio 2008 SP1(EnvDTE90a)?
//this is code for Visual Studio 2005, works great
EnvDTE80.DTE2 dte2 = (EnvDTE80.DTE2)System.Runtime.InteropServices.Marshal.
GetActiveObject("VisualStudio.DTE.8.0");
foreach (EnvDTE80.Breakpoint2 bp in dte2.Debugger.Breakpoints)
{
//do some things
}
I have done normal google searches and found various things, but none of them worked.
EnvDTE90.Debugger3 seems to only work if actively debugging. I want to access breakpoints at anytime?
NOTE: Please don't send links to existing code examples that SHOULD work. I have tried all that I can find.