Why do I keep getting exception code e0434352?

If you want to know how to debug CLR exceptions using cdb then read this post.

Exception code e0434352 is the exception code used internally by the CLR to represent most exceptions(*).

Regardless of if you throw a System.NullReferenceException or a System.ArgumentException in C#, you'll throw a SEH exception e0434352 under the covers.

A fun way to validate this theory is to watch what happens to the CLR exceptions settings in cdb. Fire up cdb, and see the state of clr exceptions:

0:000> .shell -ci "sx" findstr clr
 clr - CLR exception - second-chance break - not handled
clrn - CLR notification exception - break - handled
.shell: Process exited 

Now, set the exception handler for exception number e0434352 and recheck the value of the clr exception handler:
0:000> sxe e0434352
0:000> .shell -ci "sx" findstr clr
 clr - CLR exception - break - not handled
clrn - CLR notification exception - break - handled
.shell: Process exited 

Armed with this knowledge I expect this post makes more sense.

NitPickers Corner:
(*) I know of at least Divide by Zero not using this exception code.

Comments

Daniel15 said…
Thanks for this post. I got this exception in Visual Studio (http://i.imgur.com/1DUZZ.png) and was curious about what the exception code meant.
Unknown said…
This comment has been removed by a blog administrator.
Unknown said…
Reading your article is such a privilege. It does inspire me, I hope that you can share more positive thoughts. Visit my site too. The link is posted below.

n8fan.net

www.n8fan.net
RSCW said…
Very insightful article.
williambli92982 said…
An attention-grabbing discussion is value comment. I think that it is best to write extra on this matter, it may not be a taboo topic but typically individuals are not sufficient to speak on such topics. To the next. Cheers online casino real money
hema said…
Great Post with valuable information. I am glad that I have visited this site. Share more updates

Selenium Online Training
Google Analytics Online course
Roy rinjo said…
valuable blog,Informative content...thanks for sharing, Waiting for the next update...
Cyber Security Course in Chennai
Cyber Security Training in Chennai
Ankit Ron said…
if you have a good knowledge of Cricket you Can play daily online ,live cricket games,
cricket online games, best cricket games, play cricket online, cricket game online at best cricket games app for android phones to win real
cash and amount to instant approve in your bank or Paytm wallet.
play cricket online
Harinidev said…
I read this blog, Nice article...Thanks for sharing and waiting for the next...
statistics tutorial for data science
data science tutorial for beginners free
Girl said…
Great post. keep sharing such a worthy information

Big data training in chennai
Big Data Course in Chennai
samuelmorkel said…
Really nice blog. thanks for sharing such a useful information.
Coded UI Online Training
bruce wayne said…
Great blog.thanks for sharing such a useful information
IOS Training
David Fincher said…
Great post. Thanks for sharing such a useful blog.
dot net training in OMR
Dot net training in Chennai

Popular posts from this blog

Finding CLR exceptions without visual studio

Powershell script to enable windows to capture localhost traffic in wireshark