#531 debugger crash

v0.6.x
closed-fixed
Debugger (177)
5
2009-02-07
2009-01-12
casueps
No

I use eclipse 3.4.0, EPIC 0.6.27

This only happens with a certain file, the debugger works fine on the others I usually debug. With this file, debugging starts ok but when I open the Variables view I get this error:

----------
!MESSAGE An internal error occurred during: "child count update".
!STACK 0
java.lang.ClassCastException: org.epic.debug.db.ArraySlice cannot be cast to org.epic.debug.db.PerlVariable
at org.epic.debug.db.StackFrame.rememberVariables(StackFrame.java:349)
at org.epic.debug.db.StackFrame.getVariables(StackFrame.java:190)
at org.eclipse.debug.internal.ui.model.elements.StackFrameContentProvider.getAllChildren(StackFrameContentProvider.java:51)
at org.eclipse.debug.internal.ui.model.elements.StackFrameContentProvider.getChildCount(StackFrameContentProvider.java:28)
at org.eclipse.debug.internal.ui.model.elements.ElementContentProvider.retrieveChildCount(ElementContentProvider.java:114)
at org.eclipse.debug.internal.ui.model.elements.ElementContentProvider$2.run(ElementContentProvider.java:63)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
------

After that, there are no variables in the Variables view, and the options in the menu (the upper right corner button) are grayed out. I have to restart Eclipse for the debugger to work again.

Discussion

  • casueps

    casueps - 2009-01-12

    I think that it only happens when "Highlight Updated Variables" is on.

     
  • Jan Ploski

    Jan Ploski - 2009-02-07
    • status: open --> closed-fixed
     
  • Jan Ploski

    Jan Ploski - 2009-02-07

    Fixed in 0.6.30.

     

Log in to post a comment.