Custom Control, stopping debug

  • Thread starter Thread starter Gav
  • Start date Start date
G

Gav

I have created a custom control and am happy that it is working as it
should. Is it possible for me to stop it being debugged from no on? It is
making debugging the rest of the application awkward as it jumps into
onpaint.

thanks

Gav
 
Gav,

You can apply the DebuggerStepThroughAttribute to the OnPaint method,
and the debugger should step over that method (unless you set a breakpoint
in it, in which case, I believe it should still stop).
 
Back
Top