Debugging custom control

A

--== Alain ==--

Hi,

I have some issue to debug my custom control.
For example, in my solution i have 2 projects.

1 project is my custom control and the other one, is a windows form
application.

I would like to be able to trace/debug my custom control, when it is on
my other project windows form application.

however, when i include the reference (to the custom control dll) it is
not anymore possible to debug it, except if i place a breakpoint on the
instance creation of my custom control in the "form application".

after, i have to pass thru all methods of my custom control to finally
reach the method i want to debug.

I would like to know if there is another and easier way how to debug a
custom control (as UserControl.testcontainer does not work correctly).

thanks a lot,

Al.
 
B

Bobbo

I would like to be able to trace/debug my custom control, when it is on
my other project windows form application.

If you are referencing the custom control DLL directly, try
referencing the project instead (i.e. using the 'projects' tab in the
Add Reference dialog).
 
A

--== Alain ==--

Yes, this what i did.
If you are referencing the custom control DLL directly, try
referencing the project instead (i.e. using the 'projects' tab in the
Add Reference dialog).
 

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