1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00

backtrace regexp was missing some frames

This commit is contained in:
Charles Lowell 2010-09-03 20:33:07 -05:00
parent 8b8334f298
commit fa386ecfaa

View file

@ -80,7 +80,7 @@ module V8
end if trace_javascript
rbcontext = b.rbframes
jscontext = b.jsframes
rbframes.reject! {|f| f =~ /lib\/v8\/\w+\.rb/} unless trace_framework
rbframes.reject! {|f| f =~ /lib\/v8\/.*\.rb/} unless trace_framework
mixed.unshift(*rbframes) if trace_ruby
mixed.unshift(*jsframes) if trace_javascript
end