The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Debugging Exceptions in the WinForms designer

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Mark Levison

Posts: 877
Nickname: mlevison
Registered: Jan, 2003

Mark Levison an agile software developer who writes Notes from a tool user.
Debugging Exceptions in the WinForms designer Posted: Jan 14, 2005 11:45 PM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Mark Levison.
Original Post: Debugging Exceptions in the WinForms designer
Feed Title: Mark Levison
Feed URL: /WebLog/error.aspx?aspxerrorpath=/WebLog/mlevison/Rss.aspx
Feed Description: Musings on No Touch Deployment, .NET development and photography
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Mark Levison
Latest Posts From Mark Levison

Advertisement
Matthew Adams co-author of Windows Forms in a Nutshell has just start a blog. His 2nd entry "What has the designer done now" has some excellent tips on working with the designer. My favourite is:

You can build a control that has an implementation bug that causes an exception at deisgn time. Everything will build fine, but when you reopen the designer you'll see the exception text.
...
Fixing it can be tricky. If inspection doesn't work, a handy tip is to open a second IDE, and attach to the original instance of VS.NET. You can then set some breakpoints in your control and watch what happens as you open the designer.

Sweet - I occasionally encounter this problems - usually when I've split a common base class out of several forms. No finally I can try to debug them. Thanks Matthew.


This Blog Hosted On: http://www.DotNetJunkies.com/

Read: Debugging Exceptions in the WinForms designer

Topic: Am Anfang war das Nichts - und das ist dann explodiert! Previous Topic   Next Topic Topic: 4.24 Miles in 66 Minutes/624 Calories

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use