Forum: IronRuby Code Review: stack traces

Posted by Tomas Matousek (Guest)
on 2010-02-27 01:09
Attachment: STrace2.diff (39,8 KB)
(Received via mailing list)
tpft review /shelveset:STraces2;tomat

DLR interpreter:
Inlines RunInstructions into Run to reduce stack consumption.
The interpreter saves interpreted stack trace when it catches an 
exception. The stack trace is stored in Exception.Data and can be 
inspected later by code that builds stack traces.
Fixes synchronous compilation to run the compiled code immediately.

Ruby:
Factors stack building logic out of RubyExceptionData into 
RubyStackTraceBuilder.
Adds /sync0, /sync1, /debug and /debug /partial to irtest.rb to cover 
more cases.

Fixes:

http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=4010
http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=1979

Tomas
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.