# New Ticket Created by "brian d foy"
# Please include the string: [perl #131776]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=131776 >
When I run perl6-debug-m from the Rakudo Star, I get this error:
$ perl6-debug-m test.p6
Cannot find method 'setlang' on object of type Perl6::HookGrammar
at gen/moar/perl6-debug.nqp:407
(/Applications/Rakudo/share/perl6/runtime/perl6-debug.moarvm:comp_unit)
from src/Perl6/Grammar.nqp:492
(/Applications/Rakudo/share/nqp/lib/Perl6/Grammar.moarvm:TOP)
from gen/moar/stage2/QRegex.nqp:2315
(/Applications/Rakudo/share/nqp/lib/QRegex.moarvm:parse)
from gen/moar/stage2/NQPHLL.nqp:1895
(/Applications/Rakudo/share/nqp/lib/NQPHLL.moarvm:parse)
from gen/moar/stage2/NQPHLL.nqp:1836
(/Applications/Rakudo/share/nqp/lib/NQPHLL.moarvm:run)
from gen/moar/stage2/NQPHLL.nqp:1846
(/Applications/Rakudo/share/nqp/lib/NQPHLL.moarvm:)
from gen/moar/stage2/NQPHLL.nqp:1824
(/Applications/Rakudo/share/nqp/lib/NQPHLL.moarvm:compile)
from gen/moar/stage2/NQPHLL.nqp:1570
(/Applications/Rakudo/share/nqp/lib/NQPHLL.moarvm:eval)
from gen/moar/perl6-debug.nqp:449
(/Applications/Rakudo/share/perl6/runtime/perl6-debug.moarvm:eval)
from gen/moar/stage2/NQPHLL.nqp:1791
(/Applications/Rakudo/share/nqp/lib/NQPHLL.moarvm:evalfiles)
from gen/moar/stage2/NQPHLL.nqp:1685
(/Applications/Rakudo/share/nqp/lib/NQPHLL.moarvm:command_eval)
from src/Perl6/Compiler.nqp:42
(/Applications/Rakudo/share/nqp/lib/Perl6/Compiler.moarvm:command_eval)
from gen/moar/stage2/NQPHLL.nqp:1659
(/Applications/Rakudo/share/nqp/lib/NQPHLL.moarvm:command_line)
from gen/moar/perl6-debug.nqp:511
(/Applications/Rakudo/share/perl6/runtime/perl6-debug.moarvm:MAIN)
from gen/moar/perl6-debug.nqp:442
(/Applications/Rakudo/share/perl6/runtime/perl6-debug.moarvm:<mainline>)
from <unknown>:1
(/Applications/Rakudo/share/perl6/runtime/perl6-debug.moarvm:<main>)
from <unknown>:1
(/Applications/Rakudo/share/perl6/runtime/perl6-debug.moarvm:<entry>)
I'm using:
$ perl6 -v
This is Rakudo version 2017.04.3 built on MoarVM version 2017.04-53-g66c6dda
implementing Perl 6.c.