From: Peter G. <pe...@pg...> - 2006-10-19 07:46:01
|
I have found that when I use the perl debugger to debug wxPerl programs, the program hangs when I quit using 'q'. What I now do is to set up the environment variable PERL_QUIT_KILL. I patched perl5db.pl for the 'q' command, so that it kills itself rather than exit. It seems to work on Linux and Windows. Comments? $cmd =~ /^q$/ && do { if ($ENV{PERL_QUIT_KILL}) { kill 9, $$ ; } $fall_off_end = 1; clean_ENV(); exit $?; }; Peter |