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

How to debug the Designer

As you know, we can write our Designers for our controls, and they
would be called in design time of vs.net IDE. But how to debug them?
Nov 16 '05 #1
2 1796
simply start a new instance of VS and attach its debugger to the other VS
(debugger->attach to process). This way, you can debug your designer.

--
cody

Freeware Tools, Games and Humour
http://www.deutronium.de.vu || http://www.deutronium.tk
"八大山人" <zh**********@hotmail.com> schrieb im Newsbeitrag
news:ux**************@TK2MSFTNGP09.phx.gbl...
As you know, we can write our Designers for our controls, and they
would be called in design time of vs.net IDE. But how to debug them?

Nov 16 '05 #2
Hi cody,

Here the steps to debug a designer:

1. In you designer's project open project propeties.
2. In the properties dialog select 'Configuration Properties | Debugging
3. Change 'Debug Mode' to 'Program' (by default it is 'Project')
4. Hit 'Apply' (I believe that is bug in VS.NET)
5. In the 'Start Application' navigate to and select 'devenv.exe'
application. My VS.NET by default opens the file dialog in its folder.
Anyways you can find it in "<VS.NET folder>\Common7\IDE folder
6 Hit OK

From now on when you start the project for debugging it will start a new
instance of the IDE in the new IDE open a test project (that is the project
where you going to use the component with the designer you want to debug).
In the first IDE you can set break points in the designer's code. It is
might be somehow confusing which IDE is the debuger and which is the second,
but wach for the 'start' button. On the first IDE it should be gray. This is
the same if you attach to already running process but is more convenient.

--
HTH
Stoitcho Goutsev (100) [C# MVP]
"cody" <no****************@gmx.net> wrote in message
news:O1**************@TK2MSFTNGP11.phx.gbl...
simply start a new instance of VS and attach its debugger to the other VS
(debugger->attach to process). This way, you can debug your designer.

--
cody

Freeware Tools, Games and Humour
http://www.deutronium.de.vu || http://www.deutronium.tk
"八大山人" <zh**********@hotmail.com> schrieb im Newsbeitrag
news:ux**************@TK2MSFTNGP09.phx.gbl...
As you know, we can write our Designers for our controls, and they
would be called in design time of vs.net IDE. But how to debug them?


Nov 16 '05 #3

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

Similar topics

3
by: Mike C. Fletcher | last post by:
Every few months I get to working on a Python C extension (built with distutils) and discover a pointer error or the like where I'd like to be able to step into my DLL and see where the extension...
9
by: Robert Ferrell | last post by:
I'm trying to do some debugging of python extensions on Windows2K. MS Visual Studio (.NET) says it can't find the debug version of the python libraries. (The message is "python.exe does not...
4
by: jim | last post by:
I am trying to debug a user written web control and web control designer. I found an article 鈥淏uilding Windows Forms Controls and Component with Rich Design-Time Features鈥 that describes how...
8
by: ST | last post by:
Hello everyone, Can anyone help me with this error above when I debug my web app project in vstudio.net?? I can't figure it out! It was working fine for months, and now all of a sudden it's not!!...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...

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.