On Sat, Jan 17, 2009 at 3:42 PM, Dino Viehland <di...@microsoft.com> wrote:
> I think it is because new StackTrace(exception) requires or required trust at 
> one point in time (same reason for the catch of MemberAccessException).
>
> Looking at mscorlib now it would seem that StackTrace(e) is now 
> SecuritySafeCritical so I think we should be able to enable that code for 
> Silverlight as well.
>

Looks like my hunch is correct, I commented out the #if !SILVERLIGHT
part of GetDynamicStackFrames, and the problem goes away. I also
removed the try/catch as you pointed out. Thanks for the tips, it
wouldn't have been easy without knowing what to look for and where to
look for it.

Cheers,
-Dan
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to