Re: Designer crash cause found

2010-06-08 Thread Peter Gfader
*Hi Greg* Check out the new Power Tools for VS2010 http://visualstudiogallery.msdn.microsoft.com/en-us/d0d33361-18e2-46c0-8ff2-4adea1e34fef Especially the "*Align Assignments*" feature Turns this into You will love that one!! ;-) .peter.gfader. http://blog.gfader.com/ http://twitter.com/p

Re: Designer crash cause found

2010-04-27 Thread Corneliu I. Tusnea
*There is no development life without R# mate*. I can't even imagine how the IDE looks like without it. When I do an installation of my machine I install R# before I even Start VS for the very first time after it's installation. It took me a month of convincing to get Wallace (who started to preac

Re: Designer crash cause found

2010-04-26 Thread Stephen Price
Dude. Buy it. For me not buying it is a WTF?!? moment. On Mon, Apr 26, 2010 at 7:03 PM, Greg Keogh wrote: > Can i also suggest Resharper, which would have indicated the following 3 > errors/highlights: > > > > That’s really impressive (lord knows how they hook into the VS IDE at that > incredib

Re: Designer crash cause found

2010-04-26 Thread Grant Maw
+1 for Resharper 5. I have been using Resharper since version 1.5 I think. There have been lots of problems over the years but they really hit their straps with the last two versions. I am using it with VS2010 and I find it excellent, particularly the code cleanup functions. You can give it all yo

Re: Designer crash cause found

2010-04-26 Thread mike smith
On 27 April 2010 10:45, Greg Keogh wrote: > · Class/object variables start with an underscore. > > > > This has been discussed and there are mixed feelings in the community. I > personally dins underscores anywhere in source code painful to the eye. > > > > · Method argument variab

RE: Designer crash cause found

2010-04-26 Thread Greg Keogh
. Class/object variables start with an underscore. This has been discussed and there are mixed feelings in the community. I personally dins underscores anywhere in source code painful to the eye. . Method argument variables start with an "a" (argument). . Local meth

RE: Designer crash cause found

2010-04-26 Thread Simon Haigh
Hey. I do some of my best work at 3am. Usually follows one of those 2am "Light bulb" moments when you wake up and can't get back to sleep. :( Simon (fully aware of the quality of early early morning TV) From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf O

Re: Designer crash cause found

2010-04-26 Thread Peter Gfader
My 2c A unit test would spot this bug in 1 second as well [TestMethod()] public void BaseControlProperties_SetAllProperties_NoException() { BaseControl target = new BaseControl(); target.SetAllPublicProperties(); target.GetAllPublicProperties();

Re: Designer crash cause found

2010-04-26 Thread Greg Harris
My 2c worth... As we spend so much time looking at code, it should be as clear as possible, to help us understand what we are looking at, to achieve that I follow a strong naming standard on all projects I have control over. · Class/object variables start with an underscore. ·

RE: Designer crash cause found

2010-04-26 Thread Wallace Turner
ril 2010 9:21 PM To: 'ozDotNet' Subject: RE: Designer crash cause found Version 4.5 is excellent and 5.0 went RC recently. It's certainly worth the money... From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of Greg Keogh Sent: Mond

RE: Designer crash cause found

2010-04-26 Thread Mitch Wheat
Version 4.5 is excellent and 5.0 went RC recently. It's certainly worth the money... From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of Greg Keogh Sent: Monday, 26 April 2010 7:04 PM To: 'ozDotNet' Subject: RE: Designer crash cause

RE: Designer crash cause found

2010-04-26 Thread Greg Keogh
Can i also suggest Resharper, which would have indicated the following 3 errors/highlights: That's really impressive (lord knows how they hook into the VS IDE at that incredibly detailed level!). I asked about the bang-for-the-buck of paying for Resharper last year, but I received inconclusive

RE: Designer crash cause found

2010-04-26 Thread Wallace Turner
left. From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of Greg Keogh Sent: Monday, 26 April 2010 2:11 PM To: 'ozDotNet' Subject: RE: Designer crash cause found I reckon I make that property case mistake about 2-3 times per year, but you no

RE: Designer crash cause found

2010-04-25 Thread Greg Keogh
I reckon I make that property case mistake about 2-3 times per year, but you normally get an immediate stack overflow and you find the error within a minute. This time I was word blind looking the code and the designer found the problem for me, then it helpfully fatally crashed, leading me astray.

RE: Designer crash cause found

2010-04-25 Thread Cameron Booth
Or coding in VB.Net (ducks and hides) Cheers, Cam From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of Mitch Wheat Sent: Monday, 26 April 2010 1:47 PM To: 'ozDotNet' Subject: RE: Designer crash cause found looks like

RE: Designer crash cause found

2010-04-25 Thread Mitch Wheat
looks like a case in favour of adding underscores to private variables! Cheers, Mitch From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of Greg Keogh Sent: Monday, 26 April 2010 11:39 AM To: 'ozDotNet' Subject: RE: Designer crash cause found

RE: Designer crash cause found

2010-04-25 Thread Greg Keogh
Looks like it might be a case issue causing an infinite loop get { return UniqueId; } Should it actually be get { return uniqueId; } You mean I had an infinite loop, and it took 3 hours to find out (well, actually I didn't find out at all, until you pointed it out). I

RE: Designer crash cause found

2010-04-25 Thread Mitch Wheat
well spotted, Cam! From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of Cameron Booth Sent: Monday, 26 April 2010 11:14 AM To: 'ozDotNet' Subject: RE: Designer crash cause found Hi Greg, Looks like it might be a case issue causing an inf

RE: Designer crash cause found

2010-04-25 Thread Cameron Booth
Hi Greg, Looks like it might be a case issue causing an infinite loop get { return UniqueId; } Should it actually be get { return uniqueId; } Cheers, Cam From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf