perl debugger hangs when output is viewed via a pager

  • 3382989
  • 27-Mar-2007
  • 27-Apr-2012

Environment

Novell SUSE Linux Enterprise Server 10
Novell SUSE Linux Enterprise Desktop 10
Novell SUSE Linux Enterprise Server 9
Novell Open Enterprise Server (Linux based)

Situation

The perl debugger hangs when the output is piped into a pager such as less and that pager is exited, e.g. when running
perl -d script.pl | less

Resolution

Since control-C is ignored,often you can use  control-Z  to suspend the process and then kill it
kill %1 
Sometimes the hung debugger also ignorescontrol-Z; the process then needs to be killed from a separate login.

This isssue has been reported to Engineering and is expected to be fixed in the next Service Pack for the affected products.

Status

Reported to Engineering