Nodeclipse调试器忽略断点 [英] Nodeclipse debugger ignoring breakpoints

查看:138
本文介绍了Nodeclipse调试器忽略断点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Nodeclipse 0.10与nodemon,但是当我尝试调试我的脚本,它不会停止在我的任何断点。我已经看到这个这个答案,但没有帮助。



偶尔会在nodemon的第一行停止,其他时候会给我一个V8 VM的超时错误,有时候它根本没有做任何事情



以下是我迄今为止所尝试的:


  1. 节点应用程序和带监视器的节点,都不工作。

  2. 从首选项页面中删除了nodemon,但是Eclipse只是抱怨它缺少nodemon路径,不会启动我的脚本(即使我选择Node应用程序)

  3. 从命令行中删除 node --debug-brk = 5858 然后尝试将Eclipse调试器附加到它

  4. 尝试从工具栏按钮(我的个人默认)以及右键单击脚本文件后的上下文菜单启动调试 - 这只是使其停止在 module.exports 行脚本

  5. Ran eclipse --clean

它没有任何作用。作为附注,当我安装Nodeclipse时,我不会将Nodeclipse安装到新的Eclipse环境中,因为我花了很长时间将现有的配置到我喜欢的地方,我宁愿



以前有人处理过这个问题吗?

解决方案

好的,这是尴尬的愚蠢的...不知何故,跳过所有断点已经在Eclipse的运行菜单中激活。它现在正在工作



感谢大家帮忙。 :)


I'm using Nodeclipse 0.10 with nodemon, but when I try to debug my script it doesn't stop at any of my breakpoints. I've already seen this and this answer but it hasn't helped.

Occasionally, it will stop on the first line of nodemon, other times it gives me a timeout error from the V8 VM, and sometimes it doesn't do anything at all.

Here's what I've tried so far:

  1. I tried both the "Node application" and the "Node with monitor", neither one works.
  2. Removed nodemon from the preferences page, but then Eclipse just complains it's missing the nodemon path and won't start my script (even if I select "Node application")
  3. Ran node --debug-brk=5858 from the command line and then tried to attach the Eclipse debugger to it
  4. Tried launching the debug from the toolbar button (my personal default) as well as from context menu after right clicking the script file - that just makes it stop on the module.exports line of the script
  5. Ran eclipse --clean

None of it works. As a side note, I did not install Nodeclipse into a new Eclipse environment when I installed it, because it took me a long time to configure my existing one to where I liked it, and I'd rather be able to keep that.

Anyone dealt with this issue before?

解决方案

Ok, this was embarassingly stupid...somehow, "Skip all breakpoints" had become activated in the Run menu in Eclipse. It's working now.

Thanks everyone for the help though. :)

这篇关于Nodeclipse调试器忽略断点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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