Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Customize the Watch debug window of VS2010 so I don't have to drill down

Is it possible to make it so I don't have to drill all the way down in my Powershell "results" object to see the Name, Typename, and Value of the collection shown below??

Ideally I'd like to override the ToString() method of the Microsoft.Exchange.Data.Mapi.MailboxStatistics object.

enter image description here

like image 242
makerofthings7 Avatar asked Feb 10 '12 16:02

makerofthings7


2 Answers

Check out OzCode, it allows you to "star" variables within structures and they then appear in the main list.

enter image description here

like image 167
Antony Scott Avatar answered Sep 20 '22 08:09

Antony Scott


Can you just enter results[0].Properties[0] into the watch window where you entered results?

like image 24
John Saunders Avatar answered Sep 23 '22 08:09

John Saunders