[Ironruby-core] Code Review: stack traces

Tomas Matousek Tomas.Matousek at microsoft.com
Fri Feb 26 19:02:42 EST 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100227/27d46614/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: STrace2.diff
Type: application/octet-stream
Size: 40762 bytes
Desc: STrace2.diff
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100227/27d46614/attachment-0001.obj>


More information about the Ironruby-core mailing list