[MacRuby] #1446: Add additional diagnostic info when assertion fails in RoxorVM::pop_current_exception
MacRuby
ruby-noreply at macosforge.org
Thu Feb 2 08:18:47 PST 2012
#1446: Add additional diagnostic info when assertion fails in
RoxorVM::pop_current_exception
--------------------------------+-------------------------------------------
Reporter: msabramo@… | Owner: lsansonetti@…
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: MacRuby | Keywords:
--------------------------------+-------------------------------------------
Comment(by msabramo@…):
Sample output for an actual crash:
{{{
RoxorVM::pop_current_exception (vm.cpp:3607) - Warning: Assertion about to
fail: ((size_t)pos < current_exceptions.size()); pos = 1;
current_exceptions.size() = 1
current_exceptions[1]: "#<NoMethodError: undefined method `[]' for
nil:NilClass>"
Assertion failed: ((size_t)pos < current_exceptions.size()), function
pop_current_exception, file vm.cpp, line 3616.
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/1446#comment:2>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list