boleary has asked for the wisdom of the Perl Monks concerning the following question:

I mostly use perldb through emacs which works great. I have run into a problem in Windows 10

When debugging TK scripts in Windows 7,
I could enter CTRL-C twice in the emacs debug buffer
and then I'd have to go out and touch the GUI which would bring back control to the debugger

The CTRL-C does not seem to get passed to the running script properly in Windows 10

I thought it was a global problem with perldb in Win10,
But when I start perldb from the command prompt, I can use CTRL-C

It only seems to be emacs that isn't able to send the CTRL-C to the running application
I have to shut down the gui app to get back to the debugger prompt

I'm wondering if any users have run into this and found a workaround

  • Comment on cant send <break> to TK script from perldb in emacs with Win10

Replies are listed 'Best First'.
Re: cant send <break> to TK script from perldb in emacs with Win10
by boleary (Scribe) on Dec 19, 2018 at 23:19 UTC

    I might answer my own question here...

    I don't know what the magic is in this emacs lisp code for a "better-perldb"
    but it seems to make things work better

    https://www.gnu.org/software/emacs/windows/ntemacs/discuss/perldb