You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(that is, if I try to make use of a non-existing variable), this is the result:
trace:
[0] /tmp/test2.rb:7
/tmp/test2.rb:7:undefined method 'nonexisting' for #<C:0x2376170> (NoMethodError)
As you can see, the most recent line of the backtrace is missing. I got it back by commenting the following three lines from backtrace.c (currently at L.275):
but this is most probably not the proper fix: I have recovered the missing backtrace element, but the error message still points to the wrong script line (7 instead of 3).
Ideas?
The text was updated successfully, but these errors were encountered:
Hello world. If I execute this little test script:
I obtain the expected output:
If my script is, instead, this one:
(that is, if I try to make use of a non-existing variable), this is the result:
As you can see, the most recent line of the backtrace is missing. I got it back by commenting the following three lines from backtrace.c (currently at L.275):
I now receive:
but this is most probably not the proper fix: I have recovered the missing backtrace element, but the error message still points to the wrong script line (7 instead of 3).
Ideas?
The text was updated successfully, but these errors were encountered: