This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Implement conditional breakpoints
batch reassigning
*** Bug 171310 has been marked as a duplicate of this bug. ***
*** Bug 132067 has been marked as a duplicate of this bug. ***
*** Bug 201244 has been marked as a duplicate of this bug. ***
It would be very helpful in debugging to have the ability to breakpoint when some condition is reached, like: variable is <,=,>,isset, is null, or set of variables meet a condition. Also it would be good if it supports also 'has changed' option. It should work also with magic methods.
*** Bug 205712 has been marked as a duplicate of this bug. ***
Would love to see Conditional Breakpoints in PHP debugger too. Fwiw: * According to http://holamundo.blog.com/2011/08/19/conditional-breakpoints-in-netbeans-php/ (which proposes a decent in-code workaround) Conditional Breakpoints exist in NetBeans in other languages but not in PHP. According to * According to https://blogs.oracle.com/netbeansphp/entry/new_features_in_php_debugger#comment-1330337118687 another IDE does support it against XDEBUG, so limitation is not in xdebug. Cheers
+1 Sorry for adding a useless comment. The 'add to cc' feature doesn't seem to work
+1 Guys Netbeans for Php has a long street to become competitive ... This is a must have feature and should be implemented as soon as possible ! I cannot understand why it is still ignored
+1 This is a MUST for any debugger
This is an important debugging feature. I see where you commented that you would have to evaluate XDebug support for this feature (https://blogs.oracle.com/netbeansphp/entry/new_features_in_php_debugger). It is supported in XDebug. See the documentation https://xdebug.org/docs-dbgp.php section 7.6 Breakpoints. This feature should include conditional breakpoints (break on a condition such as $myVariable==2), break on hit count (Break when a breakpoint has been hit a defined number of times) and break on variable change. It appears this is an old bug report. Does this have to be moved forward NetBeans 8.1 to be active? Thank you for all your work and support by the way. If I can be of any assistance, I would be glad to help. Research, alpha testing or such.
Although I cannot promise anything, I'll try to implement it in the next version(NOT NB9.0, after NB9.0 is released). As small good news, it seems that my prototype based on another language debugger works. Thanks.
*** Bug 270021 has been marked as a duplicate of this bug. ***
Created attachment 164537 [details] proposed patch Just a prototype. As I wrote, we cannot apply it soon. Thanks for your understanding.
Thanks a lot for the patch, Junichi!
https://issues.apache.org/jira/browse/NETBEANS-944