当前位置: 首页>>代码示例>>Java>>正文


Java DebugProcessImpl.ResumeCommand方法代码示例

本文整理汇总了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);
}
 
开发者ID:consulo,项目名称:consulo-java,代码行数:20,代码来源:DebuggerSession.java

示例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);
}
 
开发者ID:consulo,项目名称:consulo-java,代码行数:20,代码来源:DebuggerSession.java

示例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);
}
 
开发者ID:consulo,项目名称:consulo-java,代码行数:20,代码来源:DebuggerSession.java

示例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;
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:10,代码来源:JvmSteppingCommandProvider.java

示例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)));
	}
}
 
开发者ID:consulo,项目名称:consulo-java,代码行数:14,代码来源:DebuggerSession.java

示例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;
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:7,代码来源:JvmSteppingCommandProvider.java

示例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;
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:7,代码来源:JvmSteppingCommandProvider.java

示例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;
}
 
开发者ID:consulo,项目名称:consulo-java,代码行数:8,代码来源:JvmSteppingCommandProvider.java

示例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;
}
 
开发者ID:consulo,项目名称:consulo-java,代码行数:8,代码来源:JvmSteppingCommandProvider.java

示例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;
}
 
开发者ID:consulo,项目名称:consulo-java,代码行数:8,代码来源:JvmSteppingCommandProvider.java

示例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);
}
 
开发者ID:consulo,项目名称:consulo-java,代码行数:6,代码来源:DebuggerSession.java


注:本文中的com.intellij.debugger.engine.DebugProcessImpl.ResumeCommand方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。