Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

perl6 emacs debugger

by delson (Initiate)
on Jul 25, 2013 at 22:55 UTC ( #1046434=perlquestion: print w/replies, xml ) Need Help??
delson has asked for the wisdom of the Perl Monks concerning the following question:

Hello. I have a question regarding perl6 debugging.

I can't get perl6-debug to work with emacs perldb.

Is there a secret emacs flag for perl6-debug, or a perl6.el somewhere (I've looked, it may be right in front of me, but ...).

Maybe we're just not there yet, but would be good to know.

Replies are listed 'Best First'.
Re: perl6 emacs debugger
by LanX (Archbishop) on Jul 26, 2013 at 00:34 UTC
    from my understanding does perl5db implement an API similar to the GUD (Grand Unified Debugger) to be able to interact with emacs and other IDEs.

    So the first question is rather if perl6-debug does this too.

    Cheers Rolf

    ( addicted to the Perl Programming Language)

Re: perl6 emacs debugger
by mtmcc (Hermit) on Jul 26, 2013 at 08:10 UTC
    Have you tried this?

      That will only work with Perl 5-based Perl 6 compilers, and none of the recommended compilers (Rakudo, Niecza) fits that description anymore.

      The short answer is: no, there is no emacs integration of perl6-debug, and no other serious debugger available :(

Re: perl6 emacs debugger
by Anonymous Monk on Jul 26, 2013 at 16:55 UTC

    I much appreciate commentary so far.

    Sounds like best knowledge is that we're not there *yet*.

    And, yes, I have tried emacs --eval ..., even emacsclient --eval (BTW I run emacs (and emacsclient :-) via a perl script).
    Unfortunately, perl6-debug does not (yet) seem to output information that emacs gud logic uses to make it behave as expected (:-(.

    I am sure this will come, and am (of course) willing to help, and will be on the lookout for perl6db.el, or some such.
    And I'm sure we'll get there. Emacs is a great environment for debugging perl, and will be no less so for perl6.

    Thank you.

      Oh, I got logged off ... ergo anonymous. The previous ('best knowledge') comment was by me (delson).

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1046434]
Approved by Old_Gray_Bear
Front-paged by LanX
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2019-01-16 00:04 GMT
Find Nodes?
    Voting Booth?
    After Perl5, I'm mostly interested in:

    Results (270 votes). Check out past polls.