List Info

Thread: Debugging when opening form in design mode




Debugging when opening form in design mode
user name
2006-10-09 10:05:17
I am getting an error when I open a form in design mode. Yet
when I set
a breakpoint at the offending line, excution doesn't stop
there.  How do
I debug code being executed by the designer?   
TIA

This email message is intended only for the use of the named
recipient.
Information contained in this email message and its
attachments may be
privileged, confidential and protected from disclosure. If
you are not the
intended recipient, please do not read, copy, use or
disclose this
communication to others. Also please notify the sender by
replying to this
message and then delete it from your system.
Debugging when opening form in design mode
user name
2006-10-09 13:24:37
Use another instance of visual studio 

Fred Palmer

> -----Original Message-----
> From: Discussion forum for developers using Windows
Forms to build
apps
> and controls [mailtoOTNET-WI
NFORMSDISCUSS.DEVELOP.COM] On Behalf Of
> Graeme Hood
> Sent: Monday, October 09, 2006 5:05 AM
> To: DOTNET-WINFORMSDISCUSS.DEVELOP.COM
> Subject: [DOTNET-WINFORMS] Debugging when opening form
in design mode
> 
> I am getting an error when I open a form in design
mode. Yet when I
set
> a breakpoint at the offending line, excution doesn't
stop there.  How
do
> I debug code being executed by the designer?
> TIA
> 
> This email message is intended only for the use of the
named
recipient.
> Information contained in this email message and its
attachments may be
> privileged, confidential and protected from disclosure.
If you are not
the
> intended recipient, please do not read, copy, use or
disclose this
> communication to others. Also please notify the sender
by replying to
this
> message and then delete it from your system.
Debugging when opening form in design mode
user name
2006-10-09 13:24:25
Yup, open up another instance of the IDE and do Debug-->
Processes ---> and
point to your 'other' IDE instance. I have done this 2-3
times before and it
works like a charm.



-----Original Message-----
From: Discussion forum for developers using Windows Forms to
build apps
and controls [mailtoOTNET-WI
NFORMSDISCUSS.DEVELOP.COM]On Behalf Of
Palmer Fred
Sent: Monday, October 09, 2006 9:25 AM
To: DOTNET-WINFORMSDISCUSS.DEVELOP.COM
Subject: Re: [DOTNET-WINFORMS] Debugging when opening form
in design
mode


Use another instance of visual studio 

Fred Palmer

> -----Original Message-----
> From: Discussion forum for developers using Windows
Forms to build
apps
> and controls [mailtoOTNET-WI
NFORMSDISCUSS.DEVELOP.COM] On Behalf Of
> Graeme Hood
> Sent: Monday, October 09, 2006 5:05 AM
> To: DOTNET-WINFORMSDISCUSS.DEVELOP.COM
> Subject: [DOTNET-WINFORMS] Debugging when opening form
in design mode
>
> I am getting an error when I open a form in design
mode. Yet when I
set
> a breakpoint at the offending line, excution doesn't
stop there.  How
do
> I debug code being executed by the designer?
> TIA
>
> This email message is intended only for the use of the
named
recipient.
> Information contained in this email message and its
attachments may be
> privileged, confidential and protected from disclosure.
If you are not
the
> intended recipient, please do not read, copy, use or
disclose this
> communication to others. Also please notify the sender
by replying to
this
> message and then delete it from your system.
Debugging when opening form in design mode
user name
2006-10-11 07:53:05
Somehow can't get this to work as advertised.  I have a
ContractDetail
Form inheriting from a ContractDetailBase form. The
constructor of the
ContractDetail form is never called, nor its
InitializeComponent method
- the first code run is the base form constructor. And even
though I put
a breakpoint on the line that the designer complains about,
execution
never stops there. I've set the debugger to "break when
exceptions corss
appdomain".  Am I doing something wrong?

-----Original Message-----
From: Discussion forum for developers using Windows Forms to
build apps
and controls [mailtoOTNET-WI
NFORMSDISCUSS.DEVELOP.COM] On Behalf Of
Greg Robinson
Sent: Monday, 09 October 2006 15:24
To: DOTNET-WINFORMSDISCUSS.DEVELOP.COM
Subject: Re: [DOTNET-WINFORMS] Debugging when opening form
in design
mode

Yup, open up another instance of the IDE and do Debug-->
Processes --->
and point to your 'other' IDE instance. I have done this 2-3
times
before and it works like a charm.



-----Original Message-----
From: Discussion forum for developers using Windows Forms to
build apps
and controls [mailtoOTNET-WI
NFORMSDISCUSS.DEVELOP.COM]On Behalf Of
Palmer Fred
Sent: Monday, October 09, 2006 9:25 AM
To: DOTNET-WINFORMSDISCUSS.DEVELOP.COM
Subject: Re: [DOTNET-WINFORMS] Debugging when opening form
in design
mode


Use another instance of visual studio 

Fred Palmer

> -----Original Message-----
> From: Discussion forum for developers using Windows
Forms to build
apps
> and controls [mailtoOTNET-WI
NFORMSDISCUSS.DEVELOP.COM] On Behalf Of

> Graeme Hood
> Sent: Monday, October 09, 2006 5:05 AM
> To: DOTNET-WINFORMSDISCUSS.DEVELOP.COM
> Subject: [DOTNET-WINFORMS] Debugging when opening form
in design mode
>
> I am getting an error when I open a form in design
mode. Yet when I
set
> a breakpoint at the offending line, excution doesn't
stop there.  How
do
> I debug code being executed by the designer?
> TIA
>
> This email message is intended only for the use of the
named
recipient.
> Information contained in this email message and its
attachments may be

> privileged, confidential and protected from disclosure.
If you are not
the
> intended recipient, please do not read, copy, use or
disclose this 
> communication to others. Also please notify the sender
by replying to
this
> message and then delete it from your system.
SV: Debugging when opening form in design mode
user name
2006-10-11 14:24:55
Do you have a parameter less constructor on your inherited
form calling
InitializeComponents?


Best regards,
 
Benny S. Tordrup

-----Oprindelig meddelelse-----
Fra: Discussion forum for developers using Windows Forms to
build apps and
controls [mailtoOTNET-WI
NFORMSDISCUSS.DEVELOP.COM] På vegne af Graeme
Hood
Sendt: 11. oktober 2006 09:53
Til: DOTNET-WINFORMSDISCUSS.DEVELOP.COM
Emne: Re: [DOTNET-WINFORMS] Debugging when opening form in
design mode

Somehow can't get this to work as advertised.  I have a
ContractDetail
Form inheriting from a ContractDetailBase form. The
constructor of the
ContractDetail form is never called, nor its
InitializeComponent method
- the first code run is the base form constructor. And even
though I put
a breakpoint on the line that the designer complains about,
execution
never stops there. I've set the debugger to "break when
exceptions corss
appdomain".  Am I doing something wrong?

-----Original Message-----
From: Discussion forum for developers using Windows Forms to
build apps
and controls [mailtoOTNET-WI
NFORMSDISCUSS.DEVELOP.COM] On Behalf Of
Greg Robinson
Sent: Monday, 09 October 2006 15:24
To: DOTNET-WINFORMSDISCUSS.DEVELOP.COM
Subject: Re: [DOTNET-WINFORMS] Debugging when opening form
in design
mode

Yup, open up another instance of the IDE and do Debug-->
Processes --->
and point to your 'other' IDE instance. I have done this 2-3
times
before and it works like a charm.



-----Original Message-----
From: Discussion forum for developers using Windows Forms to
build apps
and controls [mailtoOTNET-WI
NFORMSDISCUSS.DEVELOP.COM]On Behalf Of
Palmer Fred
Sent: Monday, October 09, 2006 9:25 AM
To: DOTNET-WINFORMSDISCUSS.DEVELOP.COM
Subject: Re: [DOTNET-WINFORMS] Debugging when opening form
in design
mode


Use another instance of visual studio 

Fred Palmer

> -----Original Message-----
> From: Discussion forum for developers using Windows
Forms to build
apps
> and controls [mailtoOTNET-WI
NFORMSDISCUSS.DEVELOP.COM] On Behalf Of

> Graeme Hood
> Sent: Monday, October 09, 2006 5:05 AM
> To: DOTNET-WINFORMSDISCUSS.DEVELOP.COM
> Subject: [DOTNET-WINFORMS] Debugging when opening form
in design mode
>
> I am getting an error when I open a form in design
mode. Yet when I
set
> a breakpoint at the offending line, excution doesn't
stop there.  How
do
> I debug code being executed by the designer?
> TIA
>
> This email message is intended only for the use of the
named
recipient.
> Information contained in this email message and its
attachments may be

> privileged, confidential and protected from disclosure.
If you are not
the
> intended recipient, please do not read, copy, use or
disclose this 
> communication to others. Also please notify the sender
by replying to
this
> message and then delete it from your system.
[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )