[Yarv-devel] backtrace format

gabriele renzi surrender_it at yahoo.it
Sun Jul 31 14:30:46 EDT 2005



> On Fri, 29 Jul 2005, SASADA Koichi wrote:
 
> ../test.rb:19:in `raise'
> ../test.rb:19:in `block (3 levels) in <main>'
> ../test.rb:12:in `iter'
> ../test.rb:18:in `block (2 levels) in <main>'
> ../test.rb:12:in `iter'
> ../test.rb:17:in `block in <main>'
> ../test.rb:12:in `iter'
> ../test.rb:16:in `<main>'
> How about it?

it's nice, imho.

And, while we're talking about backtraces, what about
the idea outlined here[1]?

It is basically about adding argument informations to
the backtrace i.e. replacing
 from /foo.rb:18:in `bar'
with
 from /foo.rb:18:in `bar(10, nil)'

I think this would be a really nice help to easily
spot problems, but I don't know how it would impact on
the VM performance.

[1]http://pezra.barelyenough.org/blog/2005/04/ruby-backtraces/

icq #69488917

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Yarv-devel mailing list