PC Review


Reply
Thread Tools Rate Thread

debugging a control when it's in the designer

 
 
Bob
Guest
Posts: n/a
 
      29th Aug 2003
What's the best way to debug an problem that only comes up in the forms
designer? I get a compile error in the task list, but it's a not-so-helpful
'Object reference not set to instance of an object.', and clicking on it brings
up nothing, just sends me to the top of the form code. Usually I can figure out
what's going on, but this time I really need to see what's happening at
design-time to fix it.

TIA,
Bob

 
Reply With Quote
 
 
 
 
Fergus Cooney
Guest
Posts: n/a
 
      30th Aug 2003
Hi Bob,

I've had that and it <is> unhelpful. But so far it's always been my
mistake.

You'll have to remember what areas you've been working on and backtrack.
Remove chunks and put it back in piece by piece - all the usual stuff.

Good luck,
Fergus


 
Reply With Quote
 
Fergus Cooney
Guest
Posts: n/a
 
      30th Aug 2003
:-)


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Debugging the *.designer.cs Mr. X. Microsoft C# .NET 1 31st Oct 2010 08:18 AM
Can I create a custom control with a designer like a form designer trant Microsoft C# .NET 5 22nd Dec 2009 11:03 PM
Debugging .Designer.vb Will Microsoft Dot NET Framework 0 12th Feb 2008 02:10 PM
Debugging designer bug Raj Chudasama Microsoft C# .NET 2 1st Nov 2005 11:03 PM
Debugging designer instantiation GKG Microsoft Dot NET Framework Forms 1 8th Jul 2003 04:19 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:47 PM.