不能设置断点在Eclipse [英] Can't set breakpoints in Eclipse

查看:139
本文介绍了不能设置断点在Eclipse的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

继OSX 10.5.6使用Eclipse 3.4.2 Android的记事本教程。

Following the Android notepad tutorials using Eclipse 3.4.2 on OSX 10.5.6.

我奉命设置断点通过以下方式之一:

I'm instructed to set a breakpoint in one of the following ways:


  1. 双击灰色栏编辑器面板的左侧。

  1. Double click on the gray bar to the left of the editor pane.


  • 这只是带来了添加书签窗口

在上下文菜单中选择切换断点

Select "Toggle breakpoint" in the context menu


  • 在上下文菜单中的唯一选项转到诠释...(这是禁用),添加书签,添加任务,快速差别,显示行号,折叠和preferences

我的猜测是不允许编辑器的一些模式中设置断点,但我只是一个Eclipse福利局。任何人都可以在这里借什么建议吗?

My guess would be that the editor's in some mode that doesn't allow breakpoints to be set, but I'm only an Eclipse newb. Anyone able to lend any advice here?

推荐答案

当您双击灰色栏出现一个蓝色的球?如果出现,尝试你把鼠标移到它悬停和它可能会说行断点:Blablabla

When you double click the gray bar a blue ball appears? If it appears, try to hover you mouse over it and It may say "Line Breakpoint:Blablabla"

否则,尝试检查,如果你使用的是Java编辑器打开文件。要检查这右击要打开的文件,请打开方式进入,并检查是否选择了Java编辑器,如果没有这样的选项,这意味着你没有JDT安装并可能是更好的下载的Java版本来自其官方网站的日食。

Otherwise, try to check if you are using a java editor to open your file. To check this right click the file you want to open, go to the Open With entry and check if Java Editor is selected, if there is not such option this means that you have not the JDT installed and is probably better to download the Java version of eclipse from its official website.

如果没有的previous选项的帮助下,它可能是一个错误,你应该报告给日食纠错系统如果你会这么好心。

If none of the previous options helped, its probably a bug and you should report it to the eclipse bug system if you would be so kind.

这篇关于不能设置断点在Eclipse的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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