Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Debugging forking perl script? GDB?

by Corion (Pope)
on Nov 18, 2019 at 13:11 UTC ( #11108868=note: print w/replies, xml ) Need Help??


in reply to Debugging forking perl script? GDB?

I haven't used it, but App::Stacktrace claims to do just that.

Looking at the source, it basically seems to automate gdb to step through things, and it seems to only know about Perl up to 5.14, so some manuall massaging of the code might be needed.

There is Debugging Perl scripts which use fork(), and there, Debug::Fork::Tmux is mentioned, which doesn't use Xterms on the client but Tmux sessions on the server.

  • Comment on Re: Debugging forking perl script? GDB?

Replies are listed 'Best First'.
Re^2: Debugging forking perl script? GDB?
by cavac (Curate) on Nov 18, 2019 at 13:43 UTC

    Yeah, i couldn't get App::Stacktrace to work. And i know exactly nothing about the internals of the perl interpreter, so i wouldn't even know how to fix the module.

    perl -e 'use MIME::Base64; print decode_base64("4pmsIE5ldmVyIGdvbm5hIGdpdmUgeW91IHVwCiAgTmV2ZXIgZ29ubmEgbGV0IHlvdSBkb3duLi4uIOKZqwo=");'

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11108868]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2021-02-25 10:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?