handle InvalidStackFrameException

This commit is contained in:
Eugene Zhuravlev
2009-10-21 21:16:28 +04:00
parent 19870a56be
commit f06f5b8597
2 changed files with 5 additions and 1 deletions
@@ -44,7 +44,6 @@ public abstract class SuspendContextCommandImpl extends DebuggerCommandImpl {
final SuspendContextImpl suspendContext = getSuspendContext();
final int prio = getPriority().ordinal();
if (suspendContext == null) {
if (LOG.isDebugEnabled()) {
LOG.debug("skip processing - context is null " + this);
@@ -520,6 +520,11 @@ public abstract class DebuggerTree extends DebuggerTreeBase implements DataProvi
myChildren.clear();
myChildren.add(myNodeManager.createMessageNode(new MessageDescriptor(e.getMessage())));
}
catch (InvalidStackFrameException e) {
LOG.info(e);
myChildren.clear();
notifyCancelled();
}
catch (InternalException e) {
if (e.errorCode() == 35) {
myChildren.add(