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).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top