本文整理汇总了Java中com.sun.jdi.request.StepRequest.STEP_INTO属性的典型用法代码示例。如果您正苦于以下问题:Java StepRequest.STEP_INTO属性的具体用法?Java StepRequest.STEP_INTO怎么用?Java StepRequest.STEP_INTO使用的例子?那么恭喜您, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类com.sun.jdi.request.StepRequest
的用法示例。
在下文中一共展示了StepRequest.STEP_INTO属性的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: contextAction
public void contextAction() {
showStatusText(DebuggerBundle.message("status.step.into"));
final SuspendContextImpl suspendContext = getSuspendContext();
final ThreadReferenceProxyImpl stepThread = getContextThread();
final RequestHint hint = mySmartStepFilter != null?
new RequestHint(stepThread, suspendContext, mySmartStepFilter) :
new RequestHint(stepThread, suspendContext, StepRequest.STEP_INTO);
if (myForcedIgnoreFilters) {
try {
mySession.setIgnoreStepFiltersFlag(stepThread.frameCount());
}
catch (EvaluateException e) {
LOG.info(e);
}
}
hint.setIgnoreFilters(myForcedIgnoreFilters || mySession.shouldIgnoreSteppingFilters());
applyThreadFilter(stepThread);
doStep(suspendContext, stepThread, StepRequest.STEP_INTO, hint);
super.contextAction();
}
示例2: contextAction
@Override
public void contextAction() {
showStatusText(DebuggerBundle.message("status.step.into"));
final SuspendContextImpl suspendContext = getSuspendContext();
final ThreadReferenceProxyImpl stepThread = getContextThread();
final RequestHint hint = mySmartStepFilter != null?
new RequestHint(stepThread, suspendContext, mySmartStepFilter) :
new RequestHint(stepThread, suspendContext, StepRequest.STEP_INTO);
hint.setResetIgnoreFilters(mySmartStepFilter != null && !mySession.shouldIgnoreSteppingFilters());
if (myForcedIgnoreFilters) {
try {
mySession.setIgnoreStepFiltersFlag(stepThread.frameCount());
}
catch (EvaluateException e) {
LOG.info(e);
}
}
hint.setIgnoreFilters(myForcedIgnoreFilters || mySession.shouldIgnoreSteppingFilters());
applyThreadFilter(stepThread);
if (myBreakpoint != null) {
myBreakpoint.setSuspendPolicy(suspendContext.getSuspendPolicy() == EventRequest.SUSPEND_EVENT_THREAD? DebuggerSettings.SUSPEND_THREAD : DebuggerSettings.SUSPEND_ALL);
myBreakpoint.createRequest(suspendContext.getDebugProcess());
setRunToCursorBreakpoint(myBreakpoint);
}
doStep(suspendContext, stepThread, myStepSize, StepRequest.STEP_INTO, hint);
super.contextAction();
}
示例3: handleEvent
@Override
public boolean handleEvent(final Event event, final JDIDebugTarget target,
final boolean suspendVote, final EventSet eventSet)
{
final StepEvent stepEvent = (StepEvent) event;
if (isActive())
{
jdiHandler.jdiStep(stepEvent);
}
boolean result = true;
final JDTStepHandler stepHandler = getPendingStepHandler();
if (stepHandler != null)
{
switch (stepHandler.getStepKind())
{
case StepRequest.STEP_INTO:
if (shouldHandleStepInto(stepEvent.location()))
{
result = stepHandler.handleEvent(event, target, suspendVote, eventSet);
}
break;
case StepRequest.STEP_OVER:
if (shouldHandleStepOver(stepEvent.location()))
{
result = stepHandler.handleEvent(event, target, suspendVote, eventSet);
}
break;
case StepRequest.STEP_OUT:
if (shouldHandleStepReturn(stepEvent.location()))
{
result = stepHandler.handleEvent(event, target, suspendVote, eventSet);
}
break;
default:
// TODO log error
break;
}
}
return result;
}
示例4: RequestHint
public RequestHint(final ThreadReferenceProxyImpl stepThread, final SuspendContextImpl suspendContext, @NotNull MethodFilter methodFilter) {
this(stepThread, suspendContext, StepRequest.STEP_LINE, StepRequest.STEP_INTO, methodFilter);
}
示例5: getDepth
@MagicConstant (intValues = {StepRequest.STEP_INTO, StepRequest.STEP_OVER, StepRequest.STEP_OUT})
public int getDepth() {
return myDepth;
}
示例6: RequestHint
public RequestHint(final ThreadReferenceProxyImpl stepThread, final SuspendContextImpl suspendContext, @NotNull SmartStepFilter smartStepFilter) {
this(stepThread, suspendContext, StepRequest.STEP_INTO, smartStepFilter);
}
示例7: getStepKind
@Override
protected int getStepKind()
{
return StepRequest.STEP_INTO;
}