Search in sources :

Example 1 with XDebuggerUtil

use of com.intellij.xdebugger.XDebuggerUtil in project android by JetBrains.

the class AndroidDebuggerImplBase method getSupportedBreakpointTypes.

@Override
@NotNull
public synchronized Set<XBreakpointType<?, ?>> getSupportedBreakpointTypes(@NotNull Project project, @NotNull AndroidVersion version) {
    if (mySupportedBreakpointTypes == null) {
        XDebuggerUtil debuggerUtil = XDebuggerUtil.getInstance();
        mySupportedBreakpointTypes = Sets.newHashSet();
        for (Class bpTypeCls : breakpointTypeClasses) {
            mySupportedBreakpointTypes.add(debuggerUtil.findBreakpointType(bpTypeCls));
        }
    }
    return mySupportedBreakpointTypes;
}
Also used : XDebuggerUtil(com.intellij.xdebugger.XDebuggerUtil) NotNull(org.jetbrains.annotations.NotNull)

Aggregations

XDebuggerUtil (com.intellij.xdebugger.XDebuggerUtil)1 NotNull (org.jetbrains.annotations.NotNull)1