0

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.

Cody Gray - on strike
  • 239,200
  • 50
  • 490
  • 574
Stefan Szasz
  • 1,247
  • 11
  • 27

1 Answers1

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