Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi there,
I've just started using Komodo IDE's trial version and wondered if anybody else was having this same problem.
I can get it to run my whole script without a problem, but when I try to step through the script one line at a time, it gets stuck in a while loop I am using to print out the keys and values of a hash variable. Example code as follows:
print "Original values of thishash:\n"; while (($key, $value) = each(%thishash)){ print $key.", ".$value."\n"; }
When stepping through, it gets to this second print line, and then when pressing the "Step into the code at the current line" button, or the "Step over any code on the current line" button, it just prints the first key/value pair again, and never gets any further than this.
Is this a bug? If so, is it a known bug? If so, is there a known solution? I am running on a Windows 7 Pro 64bit machine if that matters.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Komodo IDE debug gets stuck in while loop when single stepping through
by Anonymous Monk on Jul 09, 2011 at 15:07 UTC | |
by Anonymous Monk on Jul 09, 2011 at 16:45 UTC | |
by Anonymous Monk on Jul 09, 2011 at 17:29 UTC | |
by HelenCr (Monk) on Jun 01, 2012 at 10:18 UTC | |
by Anonymous Monk on Jun 02, 2012 at 09:20 UTC |