I am finding myself working with ObservableCollection quite a bit. I’ve looked around, but I can’t seem to find an ObservableCollection Debug Visualizer.
Does such a thing exist?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here’s a commercial tool for $50… Mole 2010
You could override the
.ToString()for the class that you are wrapping withObservableCollection.Otherwise, you can tweak what the visualizer shows you with the DebuggerDisplayAttribute.
And if that’s not enough, you can write your own visualizer. There are tons of articles out there for that.
a. MSDN Magazine: DataTips, Visualizers and Viewers Make Debugging .NET Code a Breeze
b. MSDN Library: How to: Write a Visualizer
c. MSDN Forums: How do I implement a custom debug visualizer?
d. Code Project: A Generic List and Dictionary Debugger Visualizer for VS.NET
e. Code Project: Create a Debugger Visualizer in 10 Lines of Code