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

debugging in design time

hi-

i am trying to debug some design-time compenents. i have
instructions from this article.

http://msdn.microsoft.com/msdnmag/issues/03/04/Design-
TimeControls/default.aspx

however, when i get to this part

"Set Start Application to Devenv.exe path\devenv.exe"

the field is ready only and i can't type in it.
any clue what i am missing here?

thanks - fg
Nov 15 '05 #1
2 1965
Hi Fragget.

I was able to do this by manuly opening a new DevEnv and attaching to the
other one through the process Window in the debug menu.

Hope this help

Gary

"fragget" <fr*****@home.com> wrote in message
news:01****************************@phx.gbl...
hi-

i am trying to debug some design-time compenents. i have
instructions from this article.

http://msdn.microsoft.com/msdnmag/issues/03/04/Design-
TimeControls/default.aspx

however, when i get to this part

"Set Start Application to Devenv.exe path\devenv.exe"

the field is ready only and i can't type in it.
any clue what i am missing here?

thanks - fg

Nov 15 '05 #2
"Gary van der Merwe" <ga*****@hotmail.com> wrote in news:#ewMhtWjDHA.2080
@TK2MSFTNGP10.phx.gbl:
I was able to do this by manuly opening a new DevEnv and attaching to the
other one through the process Window in the debug menu.


One really cool way I found to do design-time debugging is this... define
a new user control that contains a ListView. Implement a TraceListener in
the same class and add any output that you receive to the ListView. Then
place the control somewhere on your main window form. If any of your
components need to do design-time debugging (such as in InitLayout()) or if
they generate exceptions during design-time operations, the messages are
captured by the control and believe it or not, are actually displayed in
the design-time representation of the control!!! Its not great if there
is a LOT of output, but I would imagine (haven't tested) that you could do
other things such as log the messages to a file.

-mbray
Nov 15 '05 #3

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

Similar topics

0
by: ZMan | last post by:
Scenario: This is about debugging server side scripts that make calls to middle-tier business DLLs. The server side scripts are legacy ASP 3.0 pages, and the DLLs are managed DLLs...
23
by: keyser_Soze | last post by:
I have MS Visual Studio 2003 on Windows XP Pro. I have IIS running on this machine and I am trying to debug some existing code which has both ASP and ASP.NET components. When I try and launch...
5
by: DCC-700 | last post by:
I am using ASP.Net with VB on the 1.1 Framework running on Win XP Pro. I am trying to gauge the time it takes to sort a datagrid using different code sets. But when I am debugging the page there...
0
by: offwhite | last post by:
I have been trying to do this for a very long time. Unfortunately the docs are still only covering VS 2003 on MSDN, so now that I just figured it out I put together a tutorial to share. You can...
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...
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,...

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.