Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [webmaster33] can't loop for over 16 times when debug_level set to 1

Quote Reply
Re: [webmaster33] can't loop for over 16 times when debug_level set to 1 In reply to
This is very strange.

If you change that line to the following (removing $msg)::

print STDERR $pkg . " (" . $$ . "): ";

...it begins to work properly.

Before that line if you add:

die $msg;

....it also hangs.

However if you add:

die $msg;

...before:

# Remove windows linefeeds (breaks unix terminals).
$msg =~ s/\r//g unless ($^O eq 'MSWin32');

...then it works.

This must be something to do with the contents of $msg.
Subject Author Views Date
Thread Debug Hanging webmaster33 4592 Mar 19, 2003, 6:04 PM
Thread Re: [webmaster33] can't loop for over 16 times when debug_level set to 1
Paul 4367 Mar 20, 2003, 1:36 AM
Thread Re: [Paul] can't loop for over 16 times when debug_level set to 1
webmaster33 4377 Mar 20, 2003, 4:56 AM
Thread Re: [webmaster33] can't loop for over 16 times when debug_level set to 1
Paul 4371 Mar 20, 2003, 5:00 AM
Thread Re: [Paul] can't loop for over 16 times when debug_level set to 1
webmaster33 4363 Mar 20, 2003, 6:08 AM
Thread Re: [webmaster33] can't loop for over 16 times when debug_level set to 1
Paul 4358 Mar 20, 2003, 6:27 AM
Post Re: [Paul] Debug Hanging
webmaster33 4376 Mar 20, 2003, 6:54 AM
Post Re: [webmaster33] can't loop for over 16 times when debug_level set to 1
Paul 4352 Mar 20, 2003, 6:34 AM
Thread Re: [webmaster33] can't loop for over 16 times when debug_level set to 1
Paul 4341 Mar 20, 2003, 6:39 AM
Thread Re: [Paul] Debug Hanging
webmaster33 4337 Mar 20, 2003, 6:58 AM
Thread Re: [webmaster33] can't loop for over 16 times when debug_level set to 1
Paul 4328 Mar 20, 2003, 7:00 AM
Thread Re: [Paul] Debug Hanging
webmaster33 4336 Mar 20, 2003, 10:58 AM
Thread Re: [webmaster33] Debug Hanging
Paul 4300 Mar 20, 2003, 11:18 AM
Post Re: [Paul] Debug Hanging
webmaster33 4313 Mar 23, 2003, 4:41 PM
Post Re: [Paul] Debug Hanging
webmaster33 4329 Mar 23, 2003, 2:10 PM