void (final String file, final String innerPath, final int line) { UIUtil.invokeAndWaitIfNeeded(() -> { VirtualFile f = LocalFileSystem.getInstance().findFileByPath(file); Assert.assertNotNull(f); final VirtualFile jarRoot = JarFileSystem.getInstance().getJarRootForLocalFile(f); Assert.assertNotNull(jarRoot); VirtualFile innerFile = jarRoot.findFileByRelativePath(innerPath); Assert.assertNotNull(innerFile); XDebuggerTestUtil.toggleBreakpoint(getProject(), innerFile, line); }); }