Having your InternalPreserveStackTrace and eating it

Aug 28, 2009 12:43

This post stems from a discussion of stack trace problems at the CLR team blog.
The problem
When an existing exception is thrown in the normal way with throw e, any stack trace that was recorded in it is overwritten and destroyed. This complicates debugging and logging - the stack trace seen by a top-level handler (which, in a long-running ( Read more... )

clr

Leave a comment

Comments 2

License ext_3212092 July 3 2015, 04:40:35 UTC
Under what license is the code presented on this post?

---

I take that by "Purists who really want to avoid calling InternalPreserveStackTrace can use this workaround :3 " you are granting the right to use. Yet it is not clear if I have to preserve this as license :/ - An Apache2 or MIT license would be great.

---

Thanks.

Reply

Re: License yama_mayaa September 6 2015, 15:36:57 UTC
Public domain. Go ahead and play with it.

Reply


Leave a comment

Up