This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I'm trying to implement callstack filtering by using CompoundLocation to represent a series of hidden frames. I found that when a CompoundLocation is in the callstack, frames below that entry get the wrong stackFrame index. For example, if the stack looks like bar <hidden (3 frames)> foo main Then the indices assigned are 0 bar 1,2,3 (the hidden frames) 2 foo 3 main Obviously, foo should be 4 and main 5. The error appears to be in o.n.m.debugger.support.nodes.CallStackRootNode$CallStackChildren.createNodes() where it uses the expression (keys.indexOf (loc)) as the frame index. This is wrong because it counts the CompoundLocation as a single frame.
I will fix it to nb4.0 (at the latest)
Note: This fix is required for Arrow, now that the call-stack filtering feature is being backported.
Is this issue reflected in "new" debugger?
This part of API is not fully designed yet. I will put the API tag here to not forget this issue. Its not easy problem :((
fixed in debuggerAPI branch
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.