A
Adam Benson
Hi,
We have a multi-threaded app, which has a windows form front end.
We think we have been pretty careful to ensure that nothing but the UI
thread alters controls on the form. But we've started experiencing lock ups.
Of course, there could be any one of a number of causes but we wonder if one
of our developers has been a little bit careless about using InvokeRequired
and BeginInvoke.
Are there any tools that can help detect this sort of thing? Some tool you
can run your app under and if a control is accessed outside of the UI thread
it pops up an error box? I guess I'm thinking along the lines of
BoundsChecker, but for C#.
Any suggestions gratefully received.
Thanks,
- Adam.
==============================
(e-mail address removed)
We have a multi-threaded app, which has a windows form front end.
We think we have been pretty careful to ensure that nothing but the UI
thread alters controls on the form. But we've started experiencing lock ups.
Of course, there could be any one of a number of causes but we wonder if one
of our developers has been a little bit careless about using InvokeRequired
and BeginInvoke.
Are there any tools that can help detect this sort of thing? Some tool you
can run your app under and if a control is accessed outside of the UI thread
it pops up an error box? I guess I'm thinking along the lines of
BoundsChecker, but for C#.
Any suggestions gratefully received.
Thanks,
- Adam.
==============================
(e-mail address removed)