Wednesday, July 11, 2007

asp.net debugging annoyance...

so I run my app and notice at the bottom left the yellow triangle with "!" warning "Error on page."
the details give this very unhelpful message:

Line: 2829
Char: 23
Error: Sys.ArgumentException: Value must not be null for Controls and Behaviors. Parameter name: element
Code: 0

where is this Line 2829? I know of no parameter named "element"... how does one track down such an error?

I hate this. and the only thing worse than Microsoft is everything else!

2 comments:

Nitin Reddy Katkam said...

Use the Firefox 3 browser instead... Firefox takes you to the exact line where the Javascript error occurred.

said...

Specifically, the Firebug extension to Firefox has a lot of really handy debugging tools. Not that seeing the exact line of code helps that much, since I think the javascript code it's referring to is part of the ASP.NET AJAX framework. But Firebug rocks anyway.

About Me

My photo
smug SoCal catalyst prone to puffery. practitioner of verbal aikido. pearl caster for swine. professional. intuitive. clean. approachable. unique. forgiven sinner. ubiquitous. reads. geekiness rating ~10%. Meyers-Briggs = iNTj. musical thinker. into nature. project manager for a decent place which gives plenty of time, money and chances to prove his talent. dabbler, a dilettante, jack of all trades, master of none. lives in a nice place with a great wife and kids. his boys and attitude keeps him young. hangs out a lot, never bored. listens to XM. doesn't do favorites. tries to play the blues on acoustic guitar. loves the beach. draws. chillz' an groovz'. smokes a pipe. lefty.