Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

debugging forking programs with ptkdb

Status
Not open for further replies.

fishiface

IS-IT--Management
Feb 24, 2003
687
GB
Does anyone know how to get Devel::ptkdb to pop up a second window when debugged code forks?

The best I can do is to put
Code:
$DB::no_stop_at_start = 1;
brkpt( 'myfile', 22 );
in a .ptkdbrc file to stop at the first line in the child process but then I don't get to see the parent.

"As soon as we started programming, we found to our surprise that it wasn't as easy to get programs right as we had thought. Debugging had to be discovered. I can remember the exact instant when I realized that a large part of my life from then on was going to be spent in finding mistakes in my own programs."
--Maurice Wilkes
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top