G
Guest
Hi,
I have a C# user defined control that I want to place in a form. When I
drag it into the form it generates an exception (it works okay if I add the
control manually in the code, compile and then run it ... i.e. it doesn't
generate an exception). I'd really like to use debugging tools (rather than
a time-consuming brute force approach) to discover where the exception is
occuring when I drag the control into the form, but there does not appear to
be any debugging support of this kind in VS .Net to allow this.
Any suggestions as to how to find exceptions that occur during layout but
not at runtime?
Thanks in advance.
-&&
I have a C# user defined control that I want to place in a form. When I
drag it into the form it generates an exception (it works okay if I add the
control manually in the code, compile and then run it ... i.e. it doesn't
generate an exception). I'd really like to use debugging tools (rather than
a time-consuming brute force approach) to discover where the exception is
occuring when I drag the control into the form, but there does not appear to
be any debugging support of this kind in VS .Net to allow this.
Any suggestions as to how to find exceptions that occur during layout but
not at runtime?
Thanks in advance.
-&&