473,401 Members | 2,146 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 software developers and data experts.

debug component property

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
Oct 13 '07 #1
2 1169
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?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"R.A.F." <no*****@nospam.comwrote in message
news:%2***************@TK2MSFTNGP06.phx.gbl...
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
Oct 13 '07 #2
Hi Nicholas,

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

RAF

Nicholas Paldino [.NET/C# MVP] wrote:
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?

Oct 13 '07 #3

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

Similar topics

6
by: william | last post by:
Could anyone tell me how to debug a Serviced Component (COM+) in .NET? I tried to attach the debugger to the host process, but failed, got error "unable to attach the process. There is no managed...
2
by: Edward Diener | last post by:
How does one specify in a component that a property is a pointer to another component ? How is this different from a property that is actually an embedded component ? Finally how is one notified in...
4
by: jim | last post by:
I am trying to debug a user written web control and web control designer. I found an article “Building Windows Forms Controls and Component with Rich Design-Time Features” that describes how...
0
by: Jordan Bowness | last post by:
I make a similar post in another newsgroup, but this example is simplified somewhat. I have a component (cmpMyComponent) with 2 properties. The 1st property is a string value (Description) and...
0
by: Tom | last post by:
I'm working on a component that inherits from a text box. After each code change I have to restart the IDE in order to continue debugging. To debug the design time properties of the component I...
2
by: AMDRIT | last post by:
Hello everyone, I have created a custom component and one of its properties is a class object with it's own properties. During runtime, I can assign values to the class object properties just...
12
by: Eric | last post by:
I have a custom component that can be dragged from the ToolBox onto a Windows Form (which means I can't modify it's constructor to add a name parameter). VS assigns it an instance name, but the...
122
by: Edward Diener No Spam | last post by:
The definition of a component model I use below is a class which allows properties, methods, and events in a structured way which can be recognized, usually through some form of introspection...
2
by: joelkeepup | last post by:
Hi, I made a change this morning and now im getting an error that says either "a is undefined or null" or "e is undefined or null" the microsoft ajax line is below, I have no idea how to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.