Take the tour ×  i have a user control, and it's not drawn
correctly, how to debug the drawing? If i set break point, the
control will get blocked, i can't see the drawing result
instantly? any idea?  share|improve this question add comment  2
Answers  up vote 4 down vote accepted  What you need is the
Graphics Debugger visualizer.  share|improve this answer cool.
thanks for the visualizer –  Benny Dec 11 '09 at 17:14 add
comment  It's best to debug drawing activities with a multi-
monitor setup, but there are a handful of other things that can
help if you've only got one monitor.    1. Repositioning your
IDE (Visual Studio) so that it doesn't overlap. Unfortunately,
this may not help if you need active focus on the control.   2.
Draw a 2nd copy into a bitmap, and write the bitmap to disk or
redisplay it in a dialog or some other window. This is a bit of
extra work, but conceptually the same as doing logging.   3.
Alter your drawing code so that certain elements or certain
parts of elements are only drawn if y