Enrico Sorcinelli wrote:

>>>
>>>2) I use the ptkdb 'File' menu command "Close Window and Run" (but I've added this 
>in the button bar) instead of "Run". In this case at the end of code, the debugger 
>won't hang and the window will closed. Note that if there are breakpoint, the window 
>will be closed and re-opened and all breakpoint are maintained (it is more convenient 
>to use 'Close Window and Run' only after last breakpoint).
>>>
>>Cool! Any chance you can submit a patch to the author of ptkdb so we can 
>>all benefit from this trick? CC'ing mod_perl list will be useful too.
>>
> 
> I've attached the patch to this e-mail. Also I will submit to the author asap.
> Note: the patch only add a short cut for "Close Window and Run" as "Run and Exit" in 
>main button bar (type 'patch -p0 < Devel-ptkdb-1.1074-patch' in the same dir of 
>Devel/ptkdb.pm)

Thanks Enrico!

Can you please email me/list the outcome of this submission to the 
author of ptkdb. If nothing happens I'll simply include the patch in the 
guide, but I really hope that the module gets fixed.

>>I wish someone with perl/Tk knowledge could solve the hanging problem.
>>
>>
> 
> I wish me too!
> After a brief ptkdb.pm code analysis, I've seen that the debugger seems to hang, 
>after last 'Run' command, in Tk::DoOneEvent(0) call (main_loop sub, line 2922).

Any mod_perl/Tk gurus to look at the problem?


_____________________________________________________________________
Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/

Reply via email to