PC Review


Reply
Thread Tools Rate Thread

Debugging custom control

 
 
--== Alain ==--
Guest
Posts: n/a
 
      16th Feb 2007
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.
 
Reply With Quote
 
 
 
 
Bobbo
Guest
Posts: n/a
 
      16th Feb 2007
On 16 Feb, 09:17, --== Alain ==-- <nos...@noemail.com> wrote:
> 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).

 
Reply With Quote
 
--== Alain ==--
Guest
Posts: n/a
 
      16th Feb 2007
Yes, this what i did.

Bobbo wrote:
> On 16 Feb, 09:17, --== Alain ==-- <nos...@noemail.com> wrote:
>> 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).
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Debugging Smart Device custom control during design time jcavo Microsoft Dot NET Compact Framework 0 26th Apr 2006 04:47 PM
Debugging design-time features of custom control Roman Microsoft VB .NET 2 2nd Mar 2006 04:15 PM
Need help debugging custom ADM file Anthony Morris Microsoft Windows 2000 Group Policy 4 3rd Dec 2004 02:24 PM
Custom exception and JIT debugging saurabh Microsoft Dot NET Framework 4 25th Aug 2004 08:15 PM
Debugging Custom Control during Run-Time Gregory Douroux Microsoft Dot NET Compact Framework 1 8th Oct 2003 12:05 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:47 PM.