Programmatically list variables in watch window
Asked Answered
A

0

9

Is there a way to find out what variables are present in the watch window of visual studio?

DTE dte;
var watchWindow = dte.Windows.Item(EnvDTE.Constants.vsWindowKindWatch);

We can get the watch window as above, but haven't found a way to get list of values in it. I'm trying to get the variable names and the corresponding values.

Admittance answered 28/11, 2013 at 16:51 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.