本文整理汇总了Java中com.intellij.debugger.engine.DebugProcessImpl.areBreakpointsMuted方法的典型用法代码示例。如果您正苦于以下问题:Java DebugProcessImpl.areBreakpointsMuted方法的具体用法?Java DebugProcessImpl.areBreakpointsMuted怎么用?Java DebugProcessImpl.areBreakpointsMuted使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.intellij.debugger.engine.DebugProcessImpl
的用法示例。
在下文中一共展示了DebugProcessImpl.areBreakpointsMuted方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: createRequest
import com.intellij.debugger.engine.DebugProcessImpl; //导入方法依赖的package包/类
public void createRequest(final DebugProcessImpl debugProcess) {
DebuggerManagerThreadImpl.assertIsManagerThread();
if (!ENABLED || !debugProcess.isAttached() || debugProcess.areBreakpointsMuted() || !debugProcess.getRequestsManager().findRequests(this).isEmpty()) {
return;
}
SourcePosition classPosition = PsiDocumentManager.getInstance(myProject).commitAndRunReadAction(new Computable<SourcePosition>() {
public SourcePosition compute() {
PsiClass psiClass = DebuggerUtilsEx.findClass(myQualifiedName, myProject, debugProcess.getSearchScope());
return psiClass != null ? SourcePosition.createFromElement(psiClass) : null;
}
});
if(classPosition == null) {
createOrWaitPrepare(debugProcess, myQualifiedName);
}
else {
createOrWaitPrepare(debugProcess, classPosition);
}
}
示例2: createRequest
import com.intellij.debugger.engine.DebugProcessImpl; //导入方法依赖的package包/类
public void createRequest(DebugProcessImpl debugProcess) {
DebuggerManagerThreadImpl.assertIsManagerThread();
if (!ENABLED || !debugProcess.isAttached() || debugProcess.areBreakpointsMuted() || !debugProcess.getRequestsManager().findRequests(this).isEmpty()) {
return;
}
super.processClassPrepare(debugProcess, null);
}
示例3: createRequest
import com.intellij.debugger.engine.DebugProcessImpl; //导入方法依赖的package包/类
public void createRequest(DebugProcessImpl debugProcess) {
DebuggerManagerThreadImpl.assertIsManagerThread();
if (!ENABLED || !debugProcess.isAttached() || debugProcess.areBreakpointsMuted() || !debugProcess.getRequestsManager().findRequests(this).isEmpty()) {
return;
}
try {
RequestManagerImpl requestManager = debugProcess.getRequestsManager();
if (WATCH_ENTRY) {
MethodEntryRequest entryRequest = (MethodEntryRequest)findRequest(debugProcess, MethodEntryRequest.class);
if (entryRequest == null) {
entryRequest = requestManager.createMethodEntryRequest(this);
}
else {
entryRequest.disable();
}
entryRequest.addClassFilter(myClassPattern);
debugProcess.getRequestsManager().enableRequest(entryRequest);
}
if (WATCH_EXIT) {
MethodExitRequest exitRequest = (MethodExitRequest)findRequest(debugProcess, MethodExitRequest.class);
if (exitRequest == null) {
exitRequest = requestManager.createMethodExitRequest(this);
}
else {
exitRequest.disable();
}
exitRequest.addClassFilter(myClassPattern);
debugProcess.getRequestsManager().enableRequest(exitRequest);
}
}
catch (Exception e) {
LOG.debug(e);
}
}
示例4: createRequest
import com.intellij.debugger.engine.DebugProcessImpl; //导入方法依赖的package包/类
@Override
public void createRequest(DebugProcessImpl debugProcess)
{
DebuggerManagerThreadImpl.assertIsManagerThread();
if(!isEnabled() || !debugProcess.isAttached() || debugProcess.areBreakpointsMuted() || !debugProcess.getRequestsManager().findRequests(this)
.isEmpty())
{
return;
}
super.processClassPrepare(debugProcess, null);
}
示例5: isMuted
import com.intellij.debugger.engine.DebugProcessImpl; //导入方法依赖的package包/类
protected boolean isMuted(@NotNull final DebugProcessImpl debugProcess) {
return debugProcess.areBreakpointsMuted();
}
示例6: isSelected
import com.intellij.debugger.engine.DebugProcessImpl; //导入方法依赖的package包/类
public boolean isSelected(@NotNull final Project project, final AnActionEvent event) {
DebuggerContextImpl context = DebuggerAction.getDebuggerContext(event.getDataContext());
DebugProcessImpl debugProcess = context.getDebugProcess();
return debugProcess != null && debugProcess.areBreakpointsMuted();
}
示例7: isMuted
import com.intellij.debugger.engine.DebugProcessImpl; //导入方法依赖的package包/类
protected boolean isMuted(@NotNull final DebugProcessImpl debugProcess)
{
return debugProcess.areBreakpointsMuted();
}