SGWellens:The extra baggage could slow the runtime down to a crawl.
On one of my sites we're receiving 2,000,000 page requests a day. My site is complex, elegant and is written by myself and a team of newbies (though >3 years experience) who have found solutions to all the problems we've faced (one logical step at a time!) I'm sure the amazingly intelligent and creative team at .NET can work out how to offset the minuscule cost involved, or even make it optional - as i suggested. I know I could.
Our company has fought away many coders who said 'well obviously it cant be done, as it's not there yet', or.. 'well, it's a nice idea but..' - if it's a nice idea we made it happen. We're careful, we're clean, and we're efficient and fast - so is our code.
I'm sure we could drag in another 200 people to say 'well, perhaps you should now place every line of code into a separate method, because you can see which method has failed' - no thanks. I'm sick of that, I don't use emacs, I've done this way too long to ever again look at a blank screen that says 'Operation may destabilize the runtime' also. I hate bland error messages, and a lot of us do.
I use this stuff on the front line. My code is running on servers in clusters, far away from me, my debugger, my comfort zone, behind viciously hardened firewalls. It's precompiled, stripped of any debug conditions, it is running in production mode and I haven't seen a line number in a stack trace in years. If i switched the production sites into debug mode I'd cause chaos. There are countless browsers, countless systems, countless combinations of external networks interacting in countless way:
And don't you think deploying .pdb files for line numbers has a performance hit in terms of storage space, lookups and deployment time for extensive networks!!!?
I don't want to see 'Object not set to instance of a reference' - I want to see
'xyz' not set to instance of a reference
I don't think it's too much to ask, and I know there are people inside .NET who could make it happen with their eyes closed and their hands tied behind their backs.
f
btw: this debate aside, great article of yours: why sql updates fail - wish i'd read that a while back! :)