yulivee07 has asked for the wisdom of the Perl Monks concerning the following question:
If I start the same thing on the command line without the debugger, it just runs:perl -d ./program --debug ~/github/sbin/programconfig Loading DB routines from perl5db.pl version 1.44 Editor support available. Enter h or 'h h' for help, or 'man perldebug' for more help. lock can only be used on shared values at /usr/opt/perl5/lib/5.20.1/pe +rl5db.pl line 4101. BEGIN failed--compilation aborted at /usr/opt/perl5/lib/5.20.1/Thread/ +Queue.pm line 9. Compilation failed in require at ./program line 1156. BEGIN failed--compilation aborted at ./program line 1156. lock can only be used on shared values at /usr/opt/perl5/lib/5.20.1/pe +rl5db.pl line 4101. END failed--call queue aborted at ./program line 1156. lock can only be used on shared values at /usr/opt/perl5/lib/5.20.1/pe +rl5db.pl line 2514. END failed--call queue aborted at ./program line 8615. Unbalanced scopes: 6 more ENTERs than LEAVEs
I am a bit at loss how to properly debug this, as I am doing a feature extension and I am trying to hunt down an error. Any Ideas why Thread::Queue dies in the debugger but runs without the debugger? Looking at other questions regarding Thread::Queue it should be possible to debug it (although it could be hard with the threading). Also I admit, I don't quite understand the error message (the part about locking and the unbalanced scopes)../program --debug ~/github/sbin/programconfig
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Thread::Queue dies in debugger, runs without debugger
by stevieb (Canon) on Nov 01, 2017 at 13:36 UTC | |
by pryrt (Abbot) on Nov 01, 2017 at 14:00 UTC | |
by stevieb (Canon) on Nov 01, 2017 at 14:03 UTC |