本文整理了Java中com.intellij.xdebugger.XDebugSession.positionReached()
方法的一些代码示例,展示了XDebugSession.positionReached()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XDebugSession.positionReached()
方法的具体详情如下:
包路径:com.intellij.xdebugger.XDebugSession
类名称: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);
内容来源于网络,如有侵权,请联系作者删除!