[IronPython] Odd tracebacks

Dan Eloff dan.eloff at gmail.com
Sun Jan 18 07:00:25 CET 2009

On Sat, Jan 17, 2009 at 3:42 PM, Dino Viehland <dinov at 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.


More information about the Ironpython-users mailing list