The following script works fine if loaded into the IDE, and
run without any breakpoints:
use strict;
use Switch;
use Text::Wrap;
while (<>)
{
print "$_";
}
I provide a text file as a single start parameter. This
just basically prints it out. I wrote this to debug
another (much longer) script that was hanging in the
debugger. Obviously I am not using Switch or
Text::Wrap here, but I am in the other script. The
other script also runs fine if run without any breakpoints.
If a breakpoint is added, the following is written to the
console:
Entering open perl debugger, connecting to port
2084...connected.
Then it hangs and never steps into the code. Very
rapidly this ends up consuming the available memory! I
have to force a script termination.
If you comment out the 'use Switch' line above, it runs
fine in the debugger.
Some hopefully pertinent details:
OS - Win2K Pro, SP3
Perl version - 5.8.1.807 (from ActiveState)
OpenPerlIDE version - 1.0 (I got the latest
dbTemplate.txt)
my email is doug.mcelroy[at]harlandfs.com (replace [at]
with @).
Thanks,
-DLM
Logged In: YES
user_id=1089672
same happens with
use Net::SNMP;
environment
WinXP Pro, SP1
Perl 5.8.3.809 (from ActiveState)
OpenPerlIDE 1.0 (Open_Perl_IDE_1.0.11.409.zip)
ekrahmer@rsd.rohde-schwarz.com
Logged In: NO
same happens with
use DateTime;
XP Pro, no SP
ActivePerl-5.8.8.817-MSWin32-x86-257965.msi
Open_Perl_IDE_1.0.11.409.zip