本文整理了Java中com.intellij.xdebugger.XDebugSession.updateBreakpointPresentation()
方法的一些代码示例,展示了XDebugSession.updateBreakpointPresentation()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XDebugSession.updateBreakpointPresentation()
方法的具体详情如下:
包路径:com.intellij.xdebugger.XDebugSession
类名称:XDebugSession
方法名:updateBreakpointPresentation
暂无
代码示例来源:origin: ballerina-platform/ballerina-lang
@Override
public void registerBreakpoint(@NotNull XLineBreakpoint<BallerinaBreakpointProperties> breakpoint) {
XSourcePosition breakpointPosition = breakpoint.getSourcePosition();
if (breakpointPosition == null) {
return;
}
breakpoints.add(breakpoint);
sendBreakpoints();
getSession().updateBreakpointPresentation(breakpoint, AllIcons.Debugger.Db_verified_breakpoint, null);
}
代码示例来源:origin: go-lang-plugin-org/go-lang-idea-plugin
@Override
public void registerBreakpoint(@NotNull XLineBreakpoint<DlvBreakpointProperties> breakpoint) {
XSourcePosition breakpointPosition = breakpoint.getSourcePosition();
if (breakpointPosition == null) return;
VirtualFile file = breakpointPosition.getFile();
int line = breakpointPosition.getLine();
send(new DlvRequest.CreateBreakpoint(file.getPath(), line + 1))
.done(b -> {
breakpoint.putUserData(ID, b.id);
breakpoints.put(b.id, breakpoint);
getSession().updateBreakpointPresentation(breakpoint, AllIcons.Debugger.Db_verified_breakpoint, null);
})
.rejected(t -> {
String message = t == null ? null : t.getMessage();
getSession().updateBreakpointPresentation(breakpoint, AllIcons.Debugger.Db_invalid_breakpoint, message);
});
}
代码示例来源:origin: intellij-dlanguage/intellij-dlanguage
XLineBreakpoint<GdbBreakpointProperties> breakpoint) {
if (event instanceof GdbErrorEvent) {
m_debugProcess.getSession().updateBreakpointPresentation(breakpoint,
AllIcons.Debugger.Db_invalid_breakpoint, ((GdbErrorEvent) event).message);
return;
m_debugProcess.getSession().updateBreakpointPresentation(breakpoint,
AllIcons.Debugger.Db_invalid_breakpoint, "Unexpected data received from GDB");
m_log.warn("Unexpected event " + event + " received from -break-insert request");
m_debugProcess.getSession().updateBreakpointPresentation(breakpoint,
AllIcons.Debugger.Db_invalid_breakpoint, "No breakpoint number received from GDB");
m_log.warn("No breakpoint number received from GDB after -break-insert request");
m_debugProcess.getSession().updateBreakpointPresentation(breakpoint,
AllIcons.Debugger.Db_verified_breakpoint, null);
内容来源于网络,如有侵权,请联系作者删除!