如何修复“破碎” EclipseME(MTJ)中的调试器? [英] How do I fix a "broken" debugger in EclipseME (MTJ)?

查看:179
本文介绍了如何修复“破碎” EclipseME(MTJ)中的调试器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何解决在 EclipseME 中的破坏的调试器(不能启动)移动工具Java)?



(这个问题有一个答案将从另一个问题很快转移)

解决方案

EclipseME对我来说最令人讨厌的问题是破碎的调试器,它不会启动。这在文档中有所描述,但是在我第一次安装EclipseME时,需要大约一个小时才能找到这个提示,还有一个小时我在一年之后回到了JavaME开发阶段,所以我决定在这里分享一下这个知识。 / p>

如果调试器无法启动,


  1. 打开Java>调试在Eclipse首选项菜单中的部分,并取消选中暂停执行未捕获的异常和暂停执行编译错误和

  2. 增加对话框底部附近的调试器超时至少15000毫秒(所以文档说;实际上,这个值的二进制搜索可以为你的案例找到最佳的延迟)。

之后,Eclipse应该能够连接到KVM并运行一个带有调试器的midlet。


How do I fix a broken debugger, one that just won't start, in EclipseME (now Mobile Tools Java)?

(This question has an answer which will be transferred from another question soon)

解决方案

The most annoying issue with EclipseME for me was the "broken" debugger, which just wouldn't start. This is covered in docs, but it took me about an hour to find this tip when I first installed EclipseME, and another hour when I returned to JavaME development a year later, so I decided to share this piece of knowledge here, too.

If the debugger won't start,

  1. open "Java > Debug" section in Eclipse "Preferences" menu, and uncheck "Suspend execution on uncaught exceptions" and "Suspend execution on compilation errors" and
  2. increase the "Debugger timeout" near the bottom of the dialog to at least 15000 ms (so the docs say; in fact, a binary search on this value could find optimal delay for your case).

After that, Eclipse should be able to connect to KVM and run a midlet with a debugger attached.

这篇关于如何修复“破碎” EclipseME(MTJ)中的调试器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆