Skip to content

Instantly share code, notes, and snippets.

@moritz
Created February 11, 2012 11:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moritz/1798902 to your computer and use it in GitHub Desktop.
Save moritz/1798902 to your computer and use it in GitHub Desktop.
Rakudo backtrace - line 3 missing
0;
1 + 1;
die 'foo';
CATCH {
default {
say .backtrace.full;
}
}
# output:
in method+{<anon>} throw at src/gen/CORE.setting:7140
in sub+{<anon>} die at src/gen/CORE.setting:441
in block <anon> at foo.pl:4
in <anon> at foo.pl:1
The calling location of &die is line 3, but it doesn't appear anywhere in the backtrace.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment