FAQ

Search Discussions

60 discussions - 163 posts

  • Here is an interesting module from Peter Vereshagin which might help with debugging forks under the perl debugger, if you use tmux version 1.6+ http://search.cpan.org/dist/Debug-Fork-Tmux -- Ciao ...
    Richard FoleyRichard Foley
    Dec 3, 2012 at 9:34 am
    Dec 4, 2012 at 10:10 am
  • http://perldoc.perl.org/DB.html mentions a "programmatic interface to the Perl debugging API". As far as I can tell it hasn't really changed at all since Perl 5.8 and not much between that and 5.6 ...
    Rocky BernsteinRocky Bernstein
    Sep 13, 2012 at 11:41 pm
    Sep 14, 2012 at 3:00 pm
  • I recently I've written Devel::REPL plugins to call a trepan or perl5db debugger from re.pl via Enbugger. If there are other plugins for this, I'd be interested to compare. ...
    Rocky BernsteinRocky Bernstein
    Jan 8, 2012 at 4:42 am
    Sep 13, 2012 at 11:44 pm
  • A while back on Tue, 31 May 2011 18:20:51 -0700 Conor wrote: Not exactly a high priority bug, but I found that if you set a breakpoint on I just looked at this. I don't think there is a bug here. The ...
    Rocky BernsteinRocky Bernstein
    Dec 19, 2011 at 5:21 am
    Dec 21, 2011 at 8:52 am
  • With the recent release of Devel::Trepan (0.1.4), I am at a juncture of next steps. So I thought I would solicit feedback. The good news from my standpoint is that things are good enough for my ...
    Rocky BernsteinRocky Bernstein
    Dec 18, 2011 at 4:42 pm
    Jan 3, 2012 at 12:53 am
  • I was looking at old debugger list postings on "accelerated stepping". The general problem of how to make stepping feel right is a well trodden topic. So let me describe how the trepanning debuggers ...
    Rocky BernsteinRocky Bernstein
    Dec 3, 2011 at 7:12 pm
    Dec 3, 2011 at 7:12 pm
  • In working on the Trepanning debugger for Perl which in large part is modernizing and modularizing perl5db, I keep running into the limitations of eval. In both Ruby and Python, one can pass ...
    Rocky BernsteinRocky Bernstein
    Nov 21, 2011 at 5:41 am
    Nov 24, 2011 at 6:37 am
  • As Shrek says when he first entered Duloc: ``It's quiet here... Too quiet!'' A little while ago I asked if there was a way get get some sort of object which indicates the exact position from caller. ...
    Rocky BernsteinRocky Bernstein
    Oct 29, 2011 at 6:40 pm
    Oct 29, 2011 at 6:40 pm
  • With much trepidation, recently I started porting my trepanning debugger to Perl. Perl has always had a really good debugger, so said above, I undertook this with some hesitation. As someone who ...
    Rocky BernsteinRocky Bernstein
    Sep 26, 2011 at 4:22 am
    Sep 27, 2011 at 12:48 am
  • Not exactly a high priority bug, but I found that if you set a breakpoint on a line where a 'use' statement exists, the breakpoint will show as set and the debugger won't complain: $ perl -d ...
    ConorConor
    Jun 1, 2011 at 1:20 am
    Jun 4, 2011 at 6:02 am
  • Hi All, I got the scenario where perl debugger with taint mode is failing. I am using below .pm amd .xs file for testing $ cat *Mytest.pm* #!/usr/bin/perl -wT package Mytest; use XSLoader (); BEGIN { ...
    Swamy sangameshSwamy sangamesh
    Aug 3, 2010 at 11:29 am
    Aug 5, 2010 at 11:52 am
  • Hi All, We update the perl from 5.8.8 to 5.10.1 in AIX, when we use perl debug with taint mode using -dT then we are getting following error Insecure dependency in eval while running with -T switch ...
    Swamy sangameshSwamy sangamesh
    Jul 14, 2010 at 3:11 pm
    Jul 14, 2010 at 3:11 pm
  • Hi I have a website update suggestion regarding debugging B modules. http://debugger.perl.org/tools.html <h3 <a href="http://search.cpan.org/dist/B-Debugger/" B::Debugger</h3 Debug B modules and ...
    Reini UrbanReini Urban
    Jan 18, 2010 at 12:16 pm
    Jan 20, 2010 at 5:03 pm
  • Hello all, I am having a little trouble with the action command 'a' under recent perls. For example when i use the following little program with the 'a' (action) command in recent perls (up to ...
    Heiko EißfeldtHeiko Eißfeldt
    Dec 28, 2009 at 4:30 pm
    Dec 28, 2009 at 4:30 pm
  • Hello, I'm curious about the strategies that others use for running more complex applications in the debugger. A content management system for example might require session data and user input in ...
    Andrew BrosnanAndrew Brosnan
    Nov 28, 2009 at 9:05 pm
    Dec 3, 2009 at 8:28 pm
  • Hello, I hope this is the right place to ask this question. I'm writing a program to communicate with perl debugger. The thing I found hard to handle is the Escape chars output from the prompt, for ...
    DasnDasn
    May 6, 2009 at 11:45 pm
    May 7, 2009 at 1:45 pm
  • Hi, Irssi is an IRC client using Perl for scripting. I'm trying to attach a debugger to its embedded Perl. I'm using PERLDB_OPTS="RemotePort=127.0.0.1:5000" to let it connect to a socket. Running and ...
    Wouter CoekaertsWouter Coekaerts
    Jan 20, 2009 at 9:41 pm
    Jan 23, 2009 at 7:14 pm
  • Hi, often during single-stepping I am missing a command like 'n' to step over not only subroutine calls, but also complete map and grep-commands. Example: Instead of main::(perldb_demo.pl:4): my @a = ...
    Heiko EißfeldtHeiko Eißfeldt
    Aug 27, 2008 at 7:33 pm
    Sep 7, 2008 at 12:19 pm
  • I thought I'll try to add debugging capabilities to Padre http://search.cpan.org/dist/Padre so I picked up Pro Perl Debugging http://books.perl.org/book/228 where there is a sample script that ...
    Gabor SzaboGabor Szabo
    Aug 1, 2008 at 7:06 am
    Aug 3, 2008 at 12:02 pm
  • Hello, I am the current maintainer of EPIC (http://e-p-i-c.sf.net), searching in despair for a sensible way of reliably breaking in "require"d source files (and some "use"d ones, too). Let me provide ...
    Jan PloskiJan Ploski
    Jun 2, 2007 at 4:46 pm
    Jun 7, 2007 at 8:55 am
  • Perhaps it's a problem with 5.6.1, have you tried a more recent version of Perl, like 5.8.n? -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ ps. Please resend any bounced or ...
    Richard FoleyRichard Foley
    May 4, 2007 at 12:23 pm
    May 4, 2007 at 3:25 pm
  • Ime very new to perl. My new job includes maintaining a number of perl scripts whitch load csv filed into a database. I now find the need to start using the debugger, hopefully I am in the correct ...
    Ben EdwardsBen Edwards
    Apr 24, 2007 at 1:08 pm
    Apr 24, 2007 at 5:38 pm
  • We're upgrading from an old 5.005_03 to v5.6.1. Now when I use -d on via the first line of the program, it starts in debug mode but no lines of the program are visible & they are unlistable. If I do ...
    Nelson R. PardeeNelson R. Pardee
    Apr 3, 2007 at 5:36 pm
    Apr 3, 2007 at 5:36 pm
  • Hi good folk - I've been using the following: perl 5.8.3, debugger perl5db.pl version 1.23, Text::Template version 1.20, and all goes well if I break inside a template in the debugger: In file ...
    Jay RifkinJay Rifkin
    Mar 29, 2007 at 4:40 pm
    Mar 29, 2007 at 4:40 pm
  • Khai, You could try using the debugger threads support (-dt): $ perl -dt threadedprogram.pl Hopefully this helps? application runs as daemon, and sometimes it hangs. How should I go about debugging ...
    Richard FoleyRichard Foley
    Jan 26, 2007 at 9:30 am
    Jan 26, 2007 at 9:30 am
  • I've written a threaded application using perl 5.8.5 with ithreads. The application runs as daemon, and sometimes it hangs. How should I go about debugging this? Thanks Khai Doan
    KhaiKhai
    Jan 23, 2007 at 8:28 pm
    Jan 23, 2007 at 8:28 pm
  • Hi all, I am running VMS perl 5.8.6. I am using persistent perl and am eval'ing a file. The problem is, sometimes I want to eval the file to debug it. To make matters worse, I need to use ptkdb to do ...
    Doug brannDoug brann
    Jan 8, 2007 at 8:24 pm
    Jan 18, 2007 at 4:44 pm
  • I don't see this at all using 5.8.5 on Linux. #!/usr/bin/perl use Config qw(myconfig); print Config- myconfig; 1; Loading DB routines from perl5db.pl version 1.27 Editor support available. Enter h or ...
    Richard FoleyRichard Foley
    Jun 1, 2006 at 6:47 am
    Jun 1, 2006 at 6:47 am
  • When I run the following script from the command line, I get different output than when I run it with the debugger. #!/usr/bin/perl use Config qw(myconfig); print Config- myconfig; 1; Here is the ...
    Shimon BollingerShimon Bollinger
    May 15, 2006 at 11:38 am
    May 15, 2006 at 11:38 am
  • hi, when i execute the debug command y in the debugger i got this result for my context: $warn = ARRAY(0x849fff0) empty array @stack = ( 0 Pod::POM::Node::Pod=HASH(0x84be78c) Use of uninitialized ...
    Michael SeeleMichael Seele
    Dec 1, 2005 at 10:11 am
    Dec 1, 2005 at 10:11 am
  • hi, i want to know in a debugg session which files are already loaded(so i can set a breakpoint) and which files are not loaded yet(so i can set "b load <filename "). is there a chance to got a list ...
    Michael SeeleMichael Seele
    Nov 22, 2005 at 9:05 am
    Nov 22, 2005 at 2:10 pm
  • hi, i write on a (java) gui for the perl debugger and have a problem: when i use the perl debugger i can suspend the execution with CTRL+C. i talk over a socket with the perl debugger process and the ...
    Michael SeeleMichael Seele
    Nov 22, 2005 at 9:00 am
    Dec 7, 2005 at 6:40 am
  • Yet Another YAPC::NA 2005 Conference Reminder --------------------------------------------- YAPC::NA 2005 is Yet Another Perl Conference, North America, this year to be held in downtown Toronto, ...
    Gerard LimGerard Lim
    Apr 10, 2005 at 3:56 pm
    Apr 10, 2005 at 3:56 pm
  • perl version 5.8.0, I am debugging a script that uses a module, and that module elicits a warning like "you only used that filehandle once, you dolt in <filename line <whatever " (I paraphrase, since ...
    DesanyDesany
    Apr 9, 2005 at 1:57 am
    Apr 11, 2005 at 2:48 pm
  • ---------- Yet Another Perl Conference, North America, 2005 Registration now open. Conference dates: Monday - Wednesday 27 - 29 June 2005 Location: 89 Chestnut Street http://89chestnut.com/ ...
    GlimGlim
    Mar 19, 2005 at 8:10 pm
    Mar 19, 2005 at 8:10 pm
  • YAPC::NA 2005 (Yet Another Perl Conference, North America) has just released its call-for-papers; potential and aspiring speakers can submit a presentation proposal via: ...
    GlimGlim
    Feb 23, 2005 at 4:49 am
    Feb 23, 2005 at 4:49 am
  • I think I would contact the webmin people to see if they can help, first. -- Richard Foley --- core dump whitevamp Sat, 27 Nov 2004 16:34:23 -0800 im not sure if this is the right place to list this ...
    Richard FoleyRichard Foley
    Feb 8, 2005 at 10:34 am
    Feb 14, 2005 at 8:02 am
  • Works for me: rfoley@mucinj01:~/att perl -d -Mencoding="iso-8859-2" -e 'print "hello there($$)\n"; print "etc...\n";' Loading DB routines from perl5db.pl version 1.19 Editor support available. Enter ...
    Richard FoleyRichard Foley
    Feb 8, 2005 at 10:31 am
    Feb 8, 2005 at 3:23 pm
  • Hi, when I include encoding pragma in a script and run it with -d switch, the script aborts. I stripped the script to bare use encoding('iso-8859-2'); with same result. Is it supposed not to use this ...
    RHRH
    Jan 31, 2005 at 2:55 pm
    Jan 31, 2005 at 2:55 pm
  • im not sure if this is the right place to list this .. im running webmin or trying to and when i goto start it IE: /usr/local/webmin-conf/config-files-logs/webmin/start i get the following error ...
    WhitevampWhitevamp
    Nov 27, 2004 at 8:08 pm
    Nov 27, 2004 at 8:08 pm
  • I just recently transferred companies, and some things that *used* to work for me in the debugger no longer do. I am now using 5.8.0. 1) my readline key support in the debugger seems to be gone. ie: ...
    Nobody ImparticularNobody Imparticular
    Nov 24, 2004 at 12:48 am
    Nov 24, 2004 at 3:25 pm
  • Thanks - that looks like a much better test. -- Tim
    Tim MeadowcroftTim Meadowcroft
    Nov 1, 2004 at 8:59 am
    Nov 1, 2004 at 8:59 am
  • Hi all, I've searched various FAQ's, perldocs and the archive of the list, but can't find any mention of this, so thought this list might be a good source of advice. What's the best/recommended way ...
    Tim MeadowcroftTim Meadowcroft
    Oct 29, 2004 at 8:31 am
    Oct 31, 2004 at 3:31 pm
  • Hi, I read Gabor's post about break-on-watch ( http://www.mail-archive.com/debugger@perl.org/msg00020.html ). There are 2 issues that I wish to solve: I didn't see an answer if it's even possible to ...
    Yuval YaariYuval Yaari
    Oct 10, 2004 at 8:04 pm
    Oct 11, 2004 at 11:23 am
  • Hi guys, I'm using perl 5.8.5, with perl5db.pl version 1.27, and PadWalker version 0.1. My understanding is that with the PadWalker module installed, the 'y' command in the debugger is supposed to ...
    Desany, BrianDesany, Brian
    Sep 20, 2004 at 8:03 pm
    Sep 22, 2004 at 5:35 am
  • I have a program that I wrote which take input from a pipe and then distributes to certain log files. What happens is that for no particular reason that I can find, the program dies. What do I put in ...
    Parker Richard-A19798Parker Richard-A19798
    Jun 2, 2004 at 5:25 pm
    Jun 3, 2004 at 4:44 pm
  • Dirk, It looks like the Milter module was relocated from another Perl installation, hence the message. Possibly the SuSe installation or the Sendmail installation, or you, are using differing Perl ...
    Richard FoleyRichard Foley
    May 6, 2004 at 10:44 am
    May 6, 2004 at 10:44 am
  • Hello, I have a problem with the Perl-Modul Sendmail::Milter. I have ( using SuSE Linux 8.1 ) sendmail 8.12.11, which includes the Milter interface. What I have done to install Sendmail::Milter is cd ...
    Dirk TammeDirk Tamme
    Apr 20, 2004 at 7:06 am
    Apr 20, 2004 at 7:06 am
  • The Perl Debugger Pocket Reference: http://www.oreilly.com/catalog/perldebugpr/index.html Ciao Richard Foley --- Ciao - Shorter than Aufwiedersehen
    Richard FoleyRichard Foley
    Apr 14, 2004 at 4:28 pm
    Apr 14, 2004 at 6:24 pm
  • Hey, I am just about to take my first crack at perl by documenting several perl script files. The person who wrote the scripts isn't here anymore. The scripts files were written for Apache Web server ...
    Mike NiMike Ni
    Mar 15, 2004 at 1:24 am
    Mar 15, 2004 at 8:01 am
Group Navigation
period‹ prev | Latest | first ›

Top users

Richard Foley: 19 posts Richard Foley: 13 posts Gabor Szabo: 11 posts Peter Scott: 10 posts Heiko: 8 posts Rocky Bernstein: 8 posts Michael Seele: 7 posts Rocky Bernstein: 7 posts Nelson R Pardee: 4 posts Jan Ploski: 4 posts Glim: 3 posts Swamy sangamesh: 3 posts Richard Foley: 3 posts Peter Vereshagin: 3 posts Tim Meadowcroft: 2 posts Shlomi Fish: 2 posts Jay Rifkin: 2 posts Richard Foley: 2 posts Wouter Coekaerts: 2 posts Andrew Brosnan: 2 posts
show more