H
Houston Keach
I was inadvertently accessing a null object in a function called from
the keyup event handler in a form and I was surprised to find that
the application returned control to the form without any interruption,
as if there were a try/catch somewhere catching the exception and
ignoring it. When run in the debugger, as soon a I step through the
offending line of code, I'm back in the form (which BTW is displayed
using ShowDialog and is invoked from a static function in the form
class.
I've searched for a try/catch but can't find one anywhere. Why is
this exception not bubbling all the way up to the default handler?
--Houston
the keyup event handler in a form and I was surprised to find that
the application returned control to the form without any interruption,
as if there were a try/catch somewhere catching the exception and
ignoring it. When run in the debugger, as soon a I step through the
offending line of code, I'm back in the form (which BTW is displayed
using ShowDialog and is invoked from a static function in the form
class.
I've searched for a try/catch but can't find one anywhere. Why is
this exception not bubbling all the way up to the default handler?
--Houston