gpt4 book ai didi

com.intellij.xdebugger.XDebugSession.positionReached()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-18 19:04:40 26 4
gpt4 key购买 nike

本文整理了Java中com.intellij.xdebugger.XDebugSession.positionReached()方法的一些代码示例,展示了XDebugSession.positionReached()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XDebugSession.positionReached()方法的具体详情如下:
包路径:com.intellij.xdebugger.XDebugSession
类名称:XDebugSession
方法名:positionReached

XDebugSession.positionReached介绍

暂无

代码示例

代码示例来源:origin: go-lang-plugin-org/go-lang-idea-plugin

@Override
public void consume(@NotNull DebuggerState o) {
 if (o.exited) {
  stop();
  return;
 }
 XBreakpoint<DlvBreakpointProperties> find = findBreak(o.breakPoint);
 send(new DlvRequest.StacktraceGoroutine()).done(locations -> {
   DlvSuspendContext context = new DlvSuspendContext(DlvDebugProcess.this, o.currentThread.id, locations, getProcessor());
   XDebugSession session = getSession();
   if (find == null) {
    session.positionReached(context);
   }
   else {
    session.breakpointReached(find, null, context);
   }
  });
}

代码示例来源:origin: ballerina-platform/ballerina-lang

session.positionReached(context);
} else {
  session.breakpointReached(breakpoint, null, context);

代码示例来源:origin: Camelcade/Perl5-IDEA

@Override
 public void run() {
  getDebugSession().positionReached(getSuspendContext());
 }
}

代码示例来源:origin: GoogleCloudPlatform/google-cloud-intellij

@Override
 public void run() {
  if (!getXDebugSession().isStopped()) {
   // Since there is no equivalent metaphor in traditional debug sessions, this simulates
   // the desired behavior of clearing the current context by setting the current
   // position
   // to an empty context
   getXDebugSession().positionReached(new XSuspendContext() {});
  }
 }
});

代码示例来源:origin: GoogleCloudPlatform/google-cloud-intellij

private void navigateToBreakpoint(@NotNull Breakpoint target) {
 Date snapshotTime;
 try {
  if (target.getFinalTime() == null) {
   LOG.warn("Could not resolve final time from breakpoint.");
   snapshotTime = new Date();
  } else {
   snapshotTime = ISODateTimeFormat.dateTime().parseDateTime(target.getFinalTime()).toDate();
  }
 } catch (IllegalArgumentException iae) {
  LOG.warn("Could not parse breakpoint timestamp using ISO8601.");
  snapshotTime = new Date();
 }
 DateFormat df = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT);
 currentSnapshot = target;
 if (!getXDebugSession().isStopped()) {
  getXDebugSession()
    .positionReached(
      new MySuspendContext(
        new CloudExecutionStack(
          getXDebugSession().getProject(),
          StackdriverDebuggerBundle.getString(
            "clouddebug.stackat", df.format(snapshotTime)),
          target.getStackFrames(),
          target.getVariableTable(),
          target.getEvaluatedExpressions())));
 }
}

代码示例来源:origin: intellij-dlanguage/intellij-dlanguage

getSession().positionReached(suspendContext);

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com