mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
handle InvalidStackFrameException
This commit is contained in:
-1
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user