On Thu Nov 26 00:57:44 2015, kes-kes@yandex.ua wrote: > To: perlbug@perl.org > Subject: Can not quit from perl debugger by 'q' > Cc: kes-kes@yandex.ru > Reply-To: kes-kes@yandex.ru > Message-Id: <5.22.0_28030_1448525199@keswork> > From: kes-kes@yandex.ru > > > This is a bug report for perl from kes-kes@yandex.ru, > generated with the help of perlbug 1.40 running under perl 5.22.0. > > > ----------------------------------------------------------------- > [Please describe your issue here] > > When I try debug script remotely I set: > > PERLDB_OPTS=RemotePort=keswork:9001 > > and if the nobody occasionally listen that port > I can not exit from debugger, even can not run any command > Only CTRL+C works. > Thanks for the report, kes! The problem happens when one specifies a RemotePort that cannot be connected to. Attached is a patch to fix the problem on mostly recent bleadperl. It passes all tests and adds some new test assertions. The patch was caused by a lexical variable in lib/perl5db.pl that was used in the BEGIN stage before being initialised. I believe it was I who introduced this variable as part of the massive debugger refactoring I have done as part of one of my TPF grants, and it wasn't caught due to inadequate test coverage. I ran into some problems getting the tests not to hang but they should be OK now. Please look into applying it. Regards, -- Shlomi Fish --- via perlbug: queue: perl5 status: new https://rt.perl.org/Ticket/Display.html?id=126735Thread Previous | Thread Next