Does anyone know how to get Devel:
tkdb to pop up a second window when debugged code forks?
The best I can do is to put
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
The best I can do is to put
Code:
$DB::no_stop_at_start = 1;
brkpt( 'myfile', 22 );
"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