Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

how to debug ptkdb.pm

Help
D K
2012-08-03
2013-05-02
  • D K
    D K
    2012-08-03

    Thanks for this great Perl debugging tool!

    I have successfully rebound the single-stepping buttons to match the Visual Studio key bindings (F5, F9, F10, F11), but am now trying to fix a loss-of-window-focus problem when the application terminates or is cancelled by the user (i.e. the Quit dialog appears but focus is given to some other Windows app).

    So my question is … how do the developers/maintainers of ptkdb.pm debug this Perl module (presumably with ptkdb.pm itself) ?

    After several "non-responsive" windows and later crashes, I did manage to set several breakpoints in the ptkdb.pm file (e.g. start of DB::DoQuit), which are correctly reported when I start up each subsequent debug session. However, when I run my test Perl script and exit/cancel it, none of the breakpoints I set in ptkdb.pm are being triggered. Hence my question above … how do you debug this Perl/Tk debugger ?

    Thanks.