mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
workaround for "Unexpected JDWP Error: 32" - "opaque frame" JDI bug
This commit is contained in:
@@ -261,6 +261,17 @@ public class StackFrameProxyImpl extends JdiProxy implements StackFrameProxy {
|
||||
}
|
||||
return Collections.emptyList();
|
||||
}
|
||||
catch (InternalException e) {
|
||||
// From Oracle's forums:
|
||||
// This could be a JPDA bug. Unexpected JDWP Error: 32 means that an 'opaque' frame was detected at the lower JPDA levels,
|
||||
// typically a native frame.
|
||||
if (e.errorCode() == 32 /*opaque frame JDI bug*/ ) {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
else {
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
catch (InvalidStackFrameException e) {
|
||||
clearCaches();
|
||||
return getArgumentValues();
|
||||
|
||||
Reference in New Issue
Block a user