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.


In reply to Komodo IDE debug gets stuck in while loop when single stepping through by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.