debug component property

R

R.A.F.

Hi,

i've read that it is possible to debug custom control property, by
adding in debug features (of the solution/project) :

- start external program => set to devenv.exe (Visual studio exe)
- command lines arguments => the *.sln file

so when i run it, it opens a new VS instance and start to run my control
create on the form...

however, when i change the value of property i want to debug, i'm not
able to enter in debug mode, even if a breakpoint is inserted.

what do i do wrong ?

thanks a lot,

RAF
 
N

Nicholas Paldino [.NET/C# MVP]

RAF,

Instead of doing what you are doing, why not create another project and
host an instance of the control on your form which accesses the property,
and then debug that?
 
R

R.A.F.

Hi Nicholas,

if i do that i can not debug the design time support of my control... :-(

RAF
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top