[英]How do I set a watchpoint in Netbeans?
I'm working on an issue where a value is changing, but I don't know who/what/where/when it's changing. 我正在研究一个价值在变化的问题,但是我不知道它在改变谁/什么/在哪里/何时。 Way back the in the day when I was doing C programming in DOS we had "watchpoints" that could be put on a variable to cause a break when it changes.
可以回溯到我在DOS中进行C编程的那一天,我们有了“观察点”,可以将它们放在变量上,以便在变量更改时引起中断。 I'm not finding that in NetBeans (Java application specifically).
我没有在NetBeans(专门用于Java应用程序)中找到它。 What's the comparable method for NetBeans/Java?
NetBeans / Java的可比方法是什么?
If you right-click on the line number, you can set a breakpoint. 如果右键单击行号,则可以设置断点。 If you right-click again, you can edit the properties of the breakpoint and set a condition.
如果再次右键单击,则可以编辑断点的属性并设置条件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.