Hit Breakpoint & still see Form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there any way I can hit a breakpoint during a form application debug and
still be able to see and access the controls on my form?
 
Is there any way I can hit a breakpoint during a form application debug
and
still be able to see and access the controls on my form?
About the only way I can do that is with another monitor. :< Sorry, not a
cheap solution, but a very useful one if you can afford the extra $ for the
card and monitor. Good luck.
 
denton,

No, there isn't. The reason for this is that events that occur on the
form are executed in the UI thread. When you set a breakpoint, it actually
is halting execution of that thread, so your form freezes.

Hope this helps.
 
Hi denton,

As Flip said a dual monitor is good in these cases since the window won't
get repainted when needed so alt-tab between vs.net and your application
effectively erases anything on it.

Another option is to resize vs.net so that it doesn't cover your
application when the breakpoint hits.

In any way you won't be able to access the controls (as Nicholas pointed
out), only see them (which is handy for debugging OnPaint etc).
 
Back
Top