mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-06 06:21:16 +07:00
add list of registered type into assert
This commit is contained in:
+2
-2
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2016 JetBrains s.r.o.
|
||||
* Copyright 2000-2017 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -253,7 +253,7 @@ public class XBreakpointManagerImpl implements XBreakpointManager, PersistentSta
|
||||
@Override
|
||||
public <B extends XBreakpoint<?>> Collection<? extends B> getBreakpoints(@NotNull Class<? extends XBreakpointType<B, ?>> typeClass) {
|
||||
XBreakpointType<B, ?> type = XDebuggerUtil.getInstance().findBreakpointType(typeClass);
|
||||
LOG.assertTrue(type != null, "Unregistered breakpoint type " + typeClass);
|
||||
LOG.assertTrue(type != null, "Unregistered breakpoint type " + typeClass + ", registered: " + Arrays.toString(XBreakpointType.EXTENSION_POINT_NAME.getExtensions()));
|
||||
return getBreakpoints(type);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user