I am working on a collection debugger visualizer in VS2010 using C# and I cannot find a way to debug the visualizer itself (not the client app). Can anyone give me some help regarding this? Basically I want to set some breakpoints in the debugger visualizer code at runtime.
Asked
Active
Viewed 418 times
1 Answers
1
Try to add a call to Debugger.Break at the location you want to set your breakpoint.
Additionally, you can create a test driver as explained in the MSDN documentation: How to: Test and Debug a Visualizer

Daniel Hilgarth
- 171,043
- 40
- 335
- 443
-
Inserting Debbugger.Break() caused VS not to respond anymore, I am able to work with the link you sent. Thanks. – Stefan Szasz Mar 20 '11 at 12:05