[英]How do I get rid of phantom breakpoints in javascript files in Aptana?
I have a small project containing 1 HTML file and 4 JavaScript files. 我有一个包含1个HTML文件和4个JavaScript文件的小项目。 Recently, while debugging my scripts using the Aptana Firefox plugin, I managed to introduce what I'll call a 'phantom' breakpoint into my project. 最近,在使用Aptana Firefox插件调试我的脚本时,我设法在我的项目中引入了我称之为“幻影”的断点。
The breakpoint itself is tied to a particular line, not a particular expression or call. 断点本身与特定的行相关联,而不是特定的表达式或调用。 For example, if the 'phantom' breakpoint is affecting line 79 and I have only a comment on line 79, the breakpoint is never hit. 例如,如果'幻影'断点正在影响第79行,并且我只对第79行发表评论,则断点永远不会被击中。 But, if I have a valid JavaScript statement, such as 'var x = 2;' 但是,如果我有一个有效的JavaScript语句,例如'var x = 2;' on line 79, the breakpoint will always be hit. 在第79行,断点将永远被击中。
Re-adding the breakpoint on that line and removing using the 'Remove' command in the Breakpoints view does nothing. 在该行重新添加断点并使用“断点”视图中的“删除”命令删除不会执行任何操作。
Clearing all breakpoints through the 'Run->Remove all breakpoints' option does nothing. 通过“运行 - >删除所有断点”选项清除所有断点不会执行任何操作。
The breakpoint does not show up in the Breakpoints view, and there is no indication in the file that the breakpoint exists. 断点未显示在“断点”视图中,并且文件中没有指示断点存在。
I have tried deleting my workspace and recreating. 我尝试删除我的工作区并重新创建。 Didn't work. 没工作。
I have tried deleting the project and re-adding the source files. 我尝试删除项目并重新添加源文件。 Didn't work. 没工作。
I have verified that the breakpoint is not an unhandled exception as mentioned in this question . 我已经验证断点不是这个问题中提到的未处理的异常。
Does anyone know how to remove these 'phantom' breakpoints from Aptana projects? 有谁知道如何从Aptana项目中删除这些“幽灵”断点?
Environment: Windows 7 64-bit Aptana Studio v2.0.5 Aptana Debugger Firefox plugin v1.6.0 Firebug plugin v1.6.2 环境:Windows 7 64位Aptana Studio v2.0.5 Aptana调试器Firefox插件v1.6.0 Firebug插件v1.6.2
There is one way I found which will get rid of this type of breakpoint is: Click on firebug icon in the actual page, and select options and click reset all firebug options. 我发现有一种方法可以摆脱这种类型的断点:点击实际页面中的firebug图标,选择选项并单击重置所有firebug选项。
That should take care of this issue. 那应该解决这个问题。
Try the following: 请尝试以下方法:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.