Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / March 2006

Tip: Looking for answers? Try searching our database.

Add-in for debugging support

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Joris Dobbelsteen - 13 Mar 2006 16:46 GMT
Dear,

I'm looking arround making a Visual Studio 2005 add-in.
However I don't seem to understand how to catch the debugger starting (which
should be simple, but I cannot catch the event). Also I like to catch the
debug output (DebugOutputString) from the debugged application.

How can this be done?

Thanks,

- Joris
Carlos J. Quintero [VB MVP] - 13 Mar 2006 17:25 GMT
Hi Joris,

Trap the EnvDTE.Events.DTEEvents.ModeChanged event or the
EnvDTE.Events.DebuggerEvents. If you are using C#, read:

PRB: Visual Studio .NET events being disconnected from add-in.
http://www.mztools.com/articles/2005/MZ012.htm

Signature

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com

> Dear,
>
[quoted text clipped - 9 lines]
>
> - Joris
Joris Dobbelsteen - 13 Mar 2006 23:20 GMT
Dear Carlos,

Thanks for the information. This points me better into the good direction.
Hopefully Microsoft is ever going to write decend documentation for at least
the add-ins. Personally I liked the style of VS.NET 2003 much better than
VS.NET 2005 help. Unfortunally the add-in help mostly mentions "Microsoft
Internal Use" with any events.

I still have one buring question remaining:
Do you also have recommendations or guidelines how to retreive the debug
output (similar to the debug output window)?
I'm quite desperate for this functionality at this moment. There are no
other options for me to reliably use on the current code base for debugging
and tracing purposes.
I really like to have a integrated interface, as these are probably more
reliable than a 'home-brew' one.

Thanks,

- Joris

> Hi Joris,
>
[quoted text clipped - 17 lines]
> >
> > - Joris
Carlos J. Quintero [VB MVP] - 14 Mar 2006 16:09 GMT
Hi Joris,

> Hopefully Microsoft is ever going to write decend documentation for at
> least
> the add-ins. Personally I liked the style of VS.NET 2003 much better than
> VS.NET 2005 help.

The documentation is much better in VS 2005, IMHO, but anyway there is a
whole section on my web site with most, if not all, resources to learn about
add-ins. There is a free book for VS 2005 add-ins. Check it out.

Unfortunally the add-in help mostly mentions "Microsoft
> Internal Use" with any events.

You can use any event available.

> I still have one buring question remaining:
> Do you also have recommendations or guidelines how to retreive the debug
[quoted text clipped - 5 lines]
> I really like to have a integrated interface, as these are probably more
> reliable than a 'home-brew' one.

I can´t help about this, but try posting here:

http://forums.microsoft.com/msdn/showforum.aspx?forumid=57&siteid=1

or contact with the MS blog authors that are listed on my section.

Signature

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.