Cannot step through execution of test method within the debugger

Issue #863 resolved
Alan Birchenough created an issue

I cannot debug past the second line of a particular test method, which is line 17 of its enclosing class. I step over line 16, then when I attempt to step over line 17, all the frames in the debugger become invalid, I seem to lose control of execution altogether and the test runs straight through to line 25 at which point the assertion on that line fails, which is the very problem I am trying to debug in the first place. (I would send you the class file, but BitBucket won't let me attach more than one file to this issue!)

Alternatively, if I set a breakpoint at line 21 and try to "Step In" when I get there, the test just runs through to line 25 again and fails immediately.

FYI, I am running using the "Full Debugging" trace flags.

I have attached the idea log file. The relevant errors are at the end of the file. Actually, as I look at this It seems as though the offline debugger is blowing up while preparing stack frames. I guess that might explain the above behavior.

Comments (5)

  1. Scott Wells repo owner

    Sorry for the issue, Alan. Thanks for the log, though! You're right...it appears that IC is blowing up while parsing the log into stack frames. The underlying issue should be easy to fix. I'll include the fix in the next build.

  2. Alan Birchenough reporter

    Thanks. I am stuck on IC1 for the time being. Will there be a fix for IC1 as well?

  3. Scott Wells repo owner
    • changed status to open

    Absolutely. Let me reopen this and I'll include it in the next 1.8.1.7 as well. I'll try to get that out tomorrow, but it might push to Monday.

  4. Log in to comment