Incidentally, apropos of all the time I spend debugging earlier today,
is there a "trick" for running the rsync backup code in BackupPC_dump
inside the Perl debugger?

 

I think that BackupPC_dump forks and runs the rsync stuff in the child
process.  Is the right answer to figure out where that fork happens and
to tell the perl debugger that you want to debug the child process after
the fork?  I've always found it a bit tricky to get the perl debugger
and for that matter gdb to follow a child process after a fork; any
tips?  And where exactly does the fork occur (so that if I need to do
this again, I can put a breakpoint there)?

 

Thanks,

 

Jonathan Kamens

IT Manager / Principal Engineer

Tamale Software

201 South Street, Floor 3

Boston, MA  02211

(617) 261-0264 ext. 133

 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
BackupPC-devel mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-devel
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to