简体   繁体   English

在Eclipse中删除断点

[英]Removing breakpoints in Eclipse

I use Eclipse as IDE and I have a problem with breakpoints in this one. 我将Eclipse用作IDE,并且在此过程中遇到断点问题。 I have two projects - an android that I use as client app application and another one that I use as library for first one. 我有两个项目-一个用作客户端应用程序的android系统,另一个用作第一个程序的库。 Previously i have created an breakpoint in code of library application. 以前,我已经在库应用程序的代码中创建了一个断点。 Then this breakpoint was removed from sources. 然后将此断点从源中删除。 But now when I debug my code this breakpoint still hits (the file with *.class extension is opening and this breakpoint is showing). 但是现在当我调试代码时,此断点仍然有效(带有* .class扩展名的文件正在打开,并且此断点正在显示)。 How can I disable or delete it? 如何禁用或删除它?

Open the project > select the debugging view >> Somewhere in that view there will be a window titled Breakpoints. 打开项目>选择调试视图>>在该视图的某个地方,将出现一个标题为Breakpoints的窗口。 From there you can remove the breakpoint you want to get rid of. 从那里您可以删除要摆脱的断点。

In eclipse try the following: 在Eclipse中尝试以下操作:

  • Goto windows -> open perspective -> other -> debug 转到Windows->打开透视图->其他->调试
  • click on Breakpoints tab in the 单击“断点”选项卡中的
  • Remove all/specific breakpoint by clicking on either cross/double cross button 通过单击十字/双十字按钮删除所有/特定的断点

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM