Created
July 4, 2017 02:15
-
-
Save samcv/a7a6e1c86fbfd4431ce99af2cf69d6c8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
/home/samantha/perl6/bin/moar --execname="$0" --libpath="/home/samantha/perl6/share/nqp/lib" --libpath="/home/samantha/perl6/share/perl6/lib" --libpath="/home/samantha/perl6/share/perl6/runtime" /home/samantha/perl6/share/perl6/runtime/perl6.moarvm -e ' | |
say "=" x 96; | |
say "This is Rakudo Perl 6 running in the LLVM debugger, which often allows the user to generate useful back-\ntraces to debug or report issues in Rakudo, the MoarVM backend or the currently running code.\n"; | |
unless $*VM.config<ccdebugflags> { say "The currently used MoarVM backend is not compiled with debugging symbols, you might want to\nreconfigure and reinstall MoarVM with --debug enabled.\n" } | |
say "This Rakudo version is $*PERL.compiler.version() built on MoarVM version $*VM.version(),"; | |
say "running on $*DISTRO.gist() / $*KERNEL.gist()\n"; | |
say "Type `bt full` to generate a backtrace if applicable, type `q` to quit or `help` for help."; | |
say "-" x 96;' | |
lldb /home/samantha/perl6/bin/moar -- --execname="$0" --libpath="/home/samantha/perl6/share/nqp/lib" --libpath="/home/samantha/perl6/share/perl6/lib" --libpath="/home/samantha/perl6/share/perl6/runtime" /home/samantha/perl6/share/perl6/runtime/perl6.moarvm "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment