<bdo id='7Gorc'></bdo><ul id='7Gorc'></ul>

  • <i id='7Gorc'><tr id='7Gorc'><dt id='7Gorc'><q id='7Gorc'><span id='7Gorc'><b id='7Gorc'><form id='7Gorc'><ins id='7Gorc'></ins><ul id='7Gorc'></ul><sub id='7Gorc'></sub></form><legend id='7Gorc'></legend><bdo id='7Gorc'><pre id='7Gorc'><center id='7Gorc'></center></pre></bdo></b><th id='7Gorc'></th></span></q></dt></tr></i><div id='7Gorc'><tfoot id='7Gorc'></tfoot><dl id='7Gorc'><fieldset id='7Gorc'></fieldset></dl></div>
    <legend id='7Gorc'><style id='7Gorc'><dir id='7Gorc'><q id='7Gorc'></q></dir></style></legend><tfoot id='7Gorc'></tfoot>

    <small id='7Gorc'></small><noframes id='7Gorc'>

        Eclipse 调试器事件

        Eclipse Debugger Events(Eclipse 调试器事件)

          <small id='L67HO'></small><noframes id='L67HO'>

            <legend id='L67HO'><style id='L67HO'><dir id='L67HO'><q id='L67HO'></q></dir></style></legend>

              <tfoot id='L67HO'></tfoot>
              <i id='L67HO'><tr id='L67HO'><dt id='L67HO'><q id='L67HO'><span id='L67HO'><b id='L67HO'><form id='L67HO'><ins id='L67HO'></ins><ul id='L67HO'></ul><sub id='L67HO'></sub></form><legend id='L67HO'></legend><bdo id='L67HO'><pre id='L67HO'><center id='L67HO'></center></pre></bdo></b><th id='L67HO'></th></span></q></dt></tr></i><div id='L67HO'><tfoot id='L67HO'></tfoot><dl id='L67HO'><fieldset id='L67HO'></fieldset></dl></div>
              • <bdo id='L67HO'></bdo><ul id='L67HO'></ul>
                  <tbody id='L67HO'></tbody>
                • 本文介绍了Eclipse 调试器事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  在我的 Eclipse 插件中,我希望收到有关调试器事件的通知(例如,当单步执行或遇到断点时).通过使用以下代码订阅调试事件,我已设法使其在 JDT 环境中工作:

                  In my Eclipse plugin, I would like to be notified on debugger events (e.g. when stepping or a breakpoint is hit). I've managed to get this working in a JDT environment by subscribing to debug events using this code:

                  DebugPlugin.getDefault().addDebugEventListener(this);
                  

                  这给了这个事件处理程序:

                  Which gives this event handler:

                  public void handleDebugEvents(DebugEvent[] events)
                  {
                  }
                  

                  在 JDT 中,这是在 Breakpoint 或 Suspend 事件上触发的,我希望 CDT 中的行为相同.然而,事实并非如此.我在调试会话开始时只收到两个 Create 事件:

                  In JDT this is fired on Breakpoint or Suspend events and I was hoping the behaviour would be the same in CDT. However, it is not. I only get two Create events at the start of the debug session:

                  DebugEvent[org.eclipse.cdt.dsf.gdb.launching.GDBProcess@ae0aae,创建,未指定]DebugEvent[org.eclipse.debug.core.model.RuntimeProcess@920d5d, CREATE, UNSPECIFIED]

                  DebugEvent[org.eclipse.cdt.dsf.gdb.launching.GDBProcess@ae0aae, CREATE, UNSPECIFIED] DebugEvent[org.eclipse.debug.core.model.RuntimeProcess@920d5d, CREATE, UNSPECIFIED]

                  是否存在不需要特定依赖于 JDT 或 CDT 的通用解决方案?

                  Is there a generic solution that wouldn't require specific dependencies on JDT or CDT?

                  谢谢,艾伦

                  推荐答案

                  我确实找到了解决方案并在这里回答了我的其他问题:Eclipse 插件 - 在步进或中断时处理事件

                  I did find a solution and have answered my other question here: Eclipse plugin - handling events when stepping or breaking

                  艾伦

                  这篇关于Eclipse 调试器事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Cannot load 64-bit SWT libraries on 32-bit JVM ( replacing SWT file )(无法在 32 位 JVM 上加载 64 位 SWT 库(替换 SWT 文件))
                  How can I specify the default JVM arguments for programs I run from eclipse?(如何为从 Eclipse 运行的程序指定默认 JVM 参数?)
                  Class JavaLaunchHelper is implemented in both ... libinstrument.dylib. One of the two will be used. Which one is undefined(JavaLaunchHelper 类在... libinstrument.dylib 中都实现了.将使用两者之一.哪个是未定义的) - IT屋-程序员软件开发技术分享
                  Running Eclipse on Windows 7 JRE and JDK not found(找不到在 Windows 7 JRE 和 JDK 上运行 Eclipse)
                  StringBuilder vs. .concat vs. quot;+quot; Operator relative performance different in eclipse than command line?(StringBuilder vs. .concat vs. “+eclipse中的操作员相对性能与命令行不同?)
                  Is there a maximum number you can set Xmx to when trying to increase jvm memory?(尝试增加 jvm 内存时,您可以将 Xmx 设置为最大数量吗?)

                  <small id='XNxwN'></small><noframes id='XNxwN'>

                    <i id='XNxwN'><tr id='XNxwN'><dt id='XNxwN'><q id='XNxwN'><span id='XNxwN'><b id='XNxwN'><form id='XNxwN'><ins id='XNxwN'></ins><ul id='XNxwN'></ul><sub id='XNxwN'></sub></form><legend id='XNxwN'></legend><bdo id='XNxwN'><pre id='XNxwN'><center id='XNxwN'></center></pre></bdo></b><th id='XNxwN'></th></span></q></dt></tr></i><div id='XNxwN'><tfoot id='XNxwN'></tfoot><dl id='XNxwN'><fieldset id='XNxwN'></fieldset></dl></div>
                  1. <tfoot id='XNxwN'></tfoot>
                    • <bdo id='XNxwN'></bdo><ul id='XNxwN'></ul>
                        <tbody id='XNxwN'></tbody>

                          • <legend id='XNxwN'><style id='XNxwN'><dir id='XNxwN'><q id='XNxwN'></q></dir></style></legend>