本文整理汇总了Java中com.intellij.debugger.engine.DebugProcessImpl.ResumeCommand方法的典型用法代码示例。如果您正苦于以下问题:Java DebugProcessImpl.ResumeCommand方法的具体用法?Java DebugProcessImpl.ResumeCommand怎么用?Java DebugProcessImpl.ResumeCommand使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.intellij.debugger.engine.DebugProcessImpl
的用法示例。
在下文中一共展示了DebugProcessImpl.ResumeCommand方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: stepOut
import com.intellij.debugger.engine.DebugProcessImpl; //导入方法依赖的package包/类
public void stepOut(int stepSize)
{
SuspendContextImpl suspendContext = getSuspendContext();
DebugProcessImpl.ResumeCommand cmd = null;
for(JvmSteppingCommandProvider handler : JvmSteppingCommandProvider.EP_NAME.getExtensions())
{
cmd = handler.getStepOutCommand(suspendContext, stepSize);
if(cmd != null)
{
break;
}
}
if(cmd == null)
{
cmd = myDebugProcess.createStepOutCommand(suspendContext, stepSize);
}
setSteppingThrough(cmd.getContextThread());
resumeAction(cmd, Event.STEP);
}
示例2: stepOver
import com.intellij.debugger.engine.DebugProcessImpl; //导入方法依赖的package包/类
public void stepOver(boolean ignoreBreakpoints, int stepSize)
{
SuspendContextImpl suspendContext = getSuspendContext();
DebugProcessImpl.ResumeCommand cmd = null;
for(JvmSteppingCommandProvider handler : JvmSteppingCommandProvider.EP_NAME.getExtensions())
{
cmd = handler.getStepOverCommand(suspendContext, ignoreBreakpoints, stepSize);
if(cmd != null)
{
break;
}
}
if(cmd == null)
{
cmd = myDebugProcess.createStepOverCommand(suspendContext, ignoreBreakpoints, stepSize);
}
setSteppingThrough(cmd.getContextThread());
resumeAction(cmd, Event.STEP);
}
示例3: stepInto
import com.intellij.debugger.engine.DebugProcessImpl; //导入方法依赖的package包/类
public void stepInto(final boolean ignoreFilters, final @Nullable MethodFilter smartStepFilter, int stepSize)
{
final SuspendContextImpl suspendContext = getSuspendContext();
DebugProcessImpl.ResumeCommand cmd = null;
for(JvmSteppingCommandProvider handler : JvmSteppingCommandProvider.EP_NAME.getExtensions())
{
cmd = handler.getStepIntoCommand(suspendContext, ignoreFilters, smartStepFilter, stepSize);
if(cmd != null)
{
break;
}
}
if(cmd == null)
{
cmd = myDebugProcess.createStepIntoCommand(suspendContext, ignoreFilters, smartStepFilter, stepSize);
}
setSteppingThrough(cmd.getContextThread());
resumeAction(cmd, Event.STEP);
}
示例4: getStepIntoCommand
import com.intellij.debugger.engine.DebugProcessImpl; //导入方法依赖的package包/类
/**
* @return null if can not handle
*/
public DebugProcessImpl.ResumeCommand getStepIntoCommand(SuspendContextImpl suspendContext,
boolean ignoreFilters,
final MethodFilter smartStepFilter,
int stepSize) {
return null;
}
示例5: runToCursor
import com.intellij.debugger.engine.DebugProcessImpl; //导入方法依赖的package包/类
public void runToCursor(@NotNull XSourcePosition position, final boolean ignoreBreakpoints)
{
try
{
DebugProcessImpl.ResumeCommand runToCursorCommand = myDebugProcess.createRunToCursorCommand(getSuspendContext(), position, ignoreBreakpoints);
setSteppingThrough(runToCursorCommand.getContextThread());
resumeAction(runToCursorCommand, Event.STEP);
}
catch(EvaluateException e)
{
Messages.showErrorDialog(e.getMessage(), UIUtil.removeMnemonic(ActionsBundle.actionText(XDebuggerActions.RUN_TO_CURSOR)));
}
}
示例6: getStepOutCommand
import com.intellij.debugger.engine.DebugProcessImpl; //导入方法依赖的package包/类
/**
* @return null if can not handle
*/
public DebugProcessImpl.ResumeCommand getStepOutCommand(SuspendContextImpl suspendContext, int stepSize) {
return null;
}
示例7: getStepOverCommand
import com.intellij.debugger.engine.DebugProcessImpl; //导入方法依赖的package包/类
/**
* @return null if can not handle
*/
public DebugProcessImpl.ResumeCommand getStepOverCommand(SuspendContextImpl suspendContext, boolean ignoreBreakpoints, int stepSize) {
return null;
}
示例8: getStepIntoCommand
import com.intellij.debugger.engine.DebugProcessImpl; //导入方法依赖的package包/类
/**
* @return null if can not handle
*/
public DebugProcessImpl.ResumeCommand getStepIntoCommand(SuspendContextImpl suspendContext, boolean ignoreFilters, final MethodFilter smartStepFilter, int stepSize)
{
return null;
}
示例9: getStepOutCommand
import com.intellij.debugger.engine.DebugProcessImpl; //导入方法依赖的package包/类
/**
* @return null if can not handle
*/
public DebugProcessImpl.ResumeCommand getStepOutCommand(SuspendContextImpl suspendContext, int stepSize)
{
return null;
}
示例10: getStepOverCommand
import com.intellij.debugger.engine.DebugProcessImpl; //导入方法依赖的package包/类
/**
* @return null if can not handle
*/
public DebugProcessImpl.ResumeCommand getStepOverCommand(SuspendContextImpl suspendContext, boolean ignoreBreakpoints, int stepSize)
{
return null;
}
示例11: resumeAction
import com.intellij.debugger.engine.DebugProcessImpl; //导入方法依赖的package包/类
private void resumeAction(final DebugProcessImpl.ResumeCommand command, Event event)
{
getContextManager().setState(SESSION_EMPTY_CONTEXT, State.WAIT_EVALUATION, event, null);
myDebugProcess.getManagerThread().schedule(command);
}