473,396 Members | 1,891 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,396 software developers and data experts.

Debugging design-time features of custom control

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
Mar 1 '06 #1
2 1033


Can't remember the article (its either MSDN Magazine or CodeProject)
but you basically invoke the IDE itself when debugging

1) put the ctl in a dll

2) Under the Project's Properties / Configuration Properties / Start
Action,

check the Start External Program and put in DevEnv.exe (afaik,
you will need the whole path)

put the solution name as the Command Line Argument
put the solution folder as the Wroking directory
Now when you hit F5, a new instance of DevEnv starts up with you
current project.
You can place breakpoints et al. in the original instance and step
through the code.
The articles make it clearer (nice pictures and all ;)
hth,
Alan.

Mar 1 '06 #2
Alan,
Thank you very much. This is exactly what I was looking for.

Best Regards,
Roman
"AlanT" <al*******@users.com> wrote in message
news:11**********************@v46g2000cwv.googlegr oups.com...


Can't remember the article (its either MSDN Magazine or CodeProject)
but you basically invoke the IDE itself when debugging

1) put the ctl in a dll

2) Under the Project's Properties / Configuration Properties / Start
Action,

check the Start External Program and put in DevEnv.exe (afaik,
you will need the whole path)

put the solution name as the Command Line Argument
put the solution folder as the Wroking directory
Now when you hit F5, a new instance of DevEnv starts up with you
current project.
You can place breakpoints et al. in the original instance and step
through the code.
The articles make it clearer (nice pictures and all ;)
hth,
Alan.

Mar 2 '06 #3

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

Similar topics

6
by: Ashley Lloyd | last post by:
What do people generally use to debug their Python programs? I haven't seen anything out there that walks through the code, but perhaps I'm looking in the wrong places? TIA Ashley ...
16
by: Java script Dude | last post by:
To all Mozilla JS Guru's (IE dudes welcome), I have spent the last three years developing complex DHTML applications that must work in IE 5.5sp2+ but I use Mozilla 1.3+** to do all my...
3
by: Stephen Kellett | last post by:
Hi Folks, With Mozilla there is a well documented Javascript debugging API that you can call from C/C++. I've been trying to identify if there is a documented API that you can use for the same...
7
by: wh | last post by:
Can somebody confirm that you have to be in the Administrators group to be able to debug an ASP.NET application? Wayne.
4
by: Sindbaad | last post by:
I'm newbie to VB.net, I used to work on Ver VB 6.0. When I'm debugging using VB.Net it is not allowing me to update any code when I'm running. Also when I do F8 it is not taking me thru the...
6
by: Tom wilson | last post by:
I have an asp.net app running off of a W2003 server. It's being written in VS2003. I've encountered a problem where a database record is being updated with the wrong value intermittently. So I...
1
markmcgookin
by: markmcgookin | last post by:
Hi Folks, this is a problem I had a few days ago, and I was able to solve it, but I thought I'd post the solution I found here incase anyone has a similar problem! I found this stuff on an MSNDN...
3
by: =?Utf-8?B?SmVmZnJleQ==?= | last post by:
Just started to test a VB.net 2002 project for ASP.net application. After successfully installed the VS.net 2002 and tested the IIS 5.1 on XP Pro SP2 for some classical ASP programs, I am starting...
0
by: mungerer | last post by:
Whenever I am debugging a (desktop) application the Visual Studio 2005 IDE "locks" the design mode of any HTML files that I have open, even if they are not in the solution being debugged and are...
2
by: Zach | last post by:
I compiled a game client and it crashed (segmentation fault) resulting in a core file being generated. I'm trying to find out exactly what caused it to crash. Any ideas how I can do this with gdb?...
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: 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
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,...
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
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...
0
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,...

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.