473,770 Members | 4,029 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Debugging custom control

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.tes tcontainer does not work correctly).

thanks a lot,

Al.
Feb 16 '07 #1
2 2663
On 16 Feb, 09:17, --== Alain ==-- <nos...@noemail .comwrote:
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).

Feb 16 '07 #2
Yes, this what i did.

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

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2087
by: simpsoro | last post by:
How do you enable debugging so that people see it from the client side? I have gone in to properties, clicked on edit www service, clicked on the home directory tab, clicked on the configuration button, clicked on the app debugging tab and then checked the box that says enable ASP client-side script debugging. But on the client side they still get the generic debug message: -----------------------------------------------------------...
2
4949
by: markusszil | last post by:
Hello all, I am working on an application which uses quite a few bitmaps as skins for custom controls. I am getting a very difficult bug to track - my application performs quite a few bitmap operations which use a timer to help time-slice so the UI remains responsive. At one point, I am setting a flag to indicate to the timer that a particular control needs to have its background refreshed. This is placed into a list for future...
1
2971
by: simpsoro | last post by:
How do you enable debugging so that people see it from the client side? I have gone in to properties, clicked on edit www service, clicked on the home directory tab, clicked on the configuration button, clicked on the app debugging tab and then checked the box that says enable ASP client-side script debugging. But on the client side they still get the generic debug message: ...
3
1862
by: gaugust | last post by:
I am running Visual Studio .Net 2003 with Windows XP Pro and SP2. I am tying to run an ASP .Net application in debug mode. In Web.Config file I have set debug="true" but I am getting an error: "Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged." Not sure why I am getting this error. Here is my Web.Config file: <?xml version="1.0" encoding="utf-8" ?>...
5
3646
by: snicks | last post by:
I'm trying to exec a program external to my ASP.NET app using the following code. The external app is a VB.NET application. Dim sPPTOut As String sPPTOut = MDEPDirStr + sID + ".ppt" Dim p As New System.Diagnostics.Process 'p.Start(MDEPDirStr & "macrun.exe", sPPTOut) p.Start("C:\WINDOWS\SYSTEM32\CALC.EXE") 'p.Start("C:\WINDOWS\SYSTEM32\macrun.exe", sPPTOut)
2
1045
by: Roman | last post by:
Hi, I am creating a custom control with some desing-time features. How can I test/debug the control, especially its design-time functionality? Thanks in advance, Roman
0
1045
by: Günter Prossliner | last post by:
Hi everybody! The same question I have asked about one week ago in the german asp.net newsgroup, but no one was able to answer the question. Maybe someone is able to in this group! I currently developing a complex framework (based on ASP.Net 2.0), witch uses features like ExpressionBuilders and Controls with ITemplate Properties. By using this kind of functionality, I am able to control (a
15
6521
by: rizwanahmed24 | last post by:
Hello i have made a custom control. i have placed a panel on it. I want this panel to behave just like the normal panel. The problem i was having is that the panel on my custom control doesnt accept other controls. The control i drag drop on it becomes the child of my custom control's parent form and not the child of my custom control. Then i added this line "" before my custom control class (i dont know what this line does). Now
0
1317
by: =?Utf-8?B?RGF2ZQ==?= | last post by:
I have a very odd problem which I hope someone can help me with. I have written a very simple test program using remoting as an excercise in using a custom sink - just a simple server with a single method called GetReply() and a simple client. After configuring the remoting the code in the client looks like this: try { responseTextBox.Text = server.GetReply(); }
0
9602
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10237
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10071
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9882
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8905
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6690
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5326
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3987
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3589
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.