Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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.

Comment on perl6 emacs debugger
Re: perl6 emacs debugger
by LanX (Canon) 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?
Username:
Password:

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
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (10)
As of 2014-11-26 17:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (172 votes), past polls