mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
EA-102927 - IE: StackCapturingLineBreakpoint.getMatchingDisabledInsertionPoint
This commit is contained in:
@@ -204,19 +204,22 @@ public class StackCapturingLineBreakpoint extends WildcardMethodBreakpoint {
|
||||
|
||||
@Nullable
|
||||
public static CapturePoint getMatchingDisabledInsertionPoint(@NotNull StackFrameProxyImpl frame) {
|
||||
try {
|
||||
Location location = frame.location();
|
||||
String className = location.declaringType().name();
|
||||
String methodName = location.method().name();
|
||||
List<CapturePoint> capturePoints = DebuggerSettings.getInstance().getCapturePoints();
|
||||
if (!capturePoints.isEmpty()) {
|
||||
try {
|
||||
Location location = frame.location();
|
||||
String className = location.declaringType().name();
|
||||
String methodName = location.method().name();
|
||||
|
||||
for (CapturePoint c : DebuggerSettings.getInstance().getCapturePoints()) {
|
||||
if (!c.myEnabled && StringUtil.equals(c.myInsertClassName, className) && StringUtil.equals(c.myInsertMethodName, methodName)) {
|
||||
return c;
|
||||
for (CapturePoint c : capturePoints) {
|
||||
if (!c.myEnabled && StringUtil.equals(c.myInsertClassName, className) && StringUtil.equals(c.myInsertMethodName, methodName)) {
|
||||
return c;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (EvaluateException e) {
|
||||
LOG.debug(e);
|
||||
catch (EvaluateException | InternalException e) {
|
||||
LOG.debug(e);
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user