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

Unknown said…
This comment has been removed by a blog administrator.
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
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
Matt Reeves said…
This post is so interactive and informative.keep update more information…
Software testing training in Anna Nagar
Software testing 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