简体   繁体   English

为什么我的Eclipse会加载幻象断点和旧错误?

[英]Why does my Eclipse load with phantom breakpoints and old errors?

So, I deleted a breakpoint after using it a LONG time ago. 因此,我很久以前就使用了一个断点。 Everything I load Eclipse, they are back. 我加载Eclipse的所有内容都回来了。 It's very wierd, some never reappear, and some reappear daily for months and months, until they disappear. 这很奇怪,有的从未消失,有的每天持续出现几个月甚至几个月,直到消失。 I also sometimes load into old compile errors, many of which are completely irrelevant to their line, or not even on a line(in whitespace), and cleaning the project is mandatory each load. 有时,我还会加载到旧的编译错误中,其中许多错误与它们的行完全无关,甚至根本不在一行上(在空格中),并且每次加载都必须清理项目。

I'm running Linux if it matters, but I recall this happening on my Windows too. 如果很重要,我就在运行Linux,但我也记得在Windows上发生过这种情况。 I do copy my preferences from machine to machine. 我确实将偏好设置从一台机器复制到另一台机器。

If by waypoint you mean breakpoint , try to just clear all breakpoints: 如果waypoint你的意思是breakpoint时,尽量只清除所有断点:

In Eclipse, open the Breakpoints view. 在Eclipse中,打开Breakpoints视图。 If not already visible, show it by selecting pull-down menu "Window" > "Show View" > "Breakpoints". 如果尚不可见,请通过选择下拉菜单“窗口”>“显示视图”>“断点”来显示它。

Click the double-X in the view toolbar. 单击视图工具栏中的双X。 Hover shows "Remove All Breakpoints". 悬停显示“删除所有断点”。

Close Eclipse to ensure the new setting is saved . 关闭Eclipse以确保保存了新设置。 If Eclipse (or your OS) crashes, changes to settings like that are lost. 如果Eclipse(或您的操作系统)崩溃,则对此类设置的更改将丢失。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 当我将工作空间加载到另一台计算机上时,为什么Eclipse会显示错误? - Why does Eclipse showing errors when I load my workspace on a different computer? 如何从Intellij IDEA中删除指向旧/丢失源的(虚拟)断点? - How to remove (phantom) breakpoints pointing to old/missing source from Intellij IDEA? Eclipse没有启动我的程序,但是没有错误 - Eclipse does not launch my program, but no errors 为什么我的InputStream保留旧值? - Why does my InputStream hold old values? 为什么这个旧依赖会使我的 gradle 崩溃? - Why does this old dependency crashes my gradle? 为什么我的代码在 readLine() 处卡在 Eclipse 中? - Why does my code stuck in eclipse at readLine()? 为什么错误处理程序不处理我的错误? - Why the error handler does not handle my errors? 为什么Eclipse会以多种方式指示错误,即使没有错误也是如此? - Why does Eclipse indicate that there are errors in multiple ways even when there are none? 为什么 Eclipse 说“存在错误”但在控制台中什么也没显示? - Why does Eclipse say that “errors exist” but shows nothing in console? 为什么Eclipse中的“问题”视图没有显示我的所有错误? - Why is the Problems view in Eclipse not showing all of my errors?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM