Z
Z
Zeeeee2014-10-21 16:20:53
PHP
Zeeeee, 2014-10-21 16:20:53

Debugging PHP in NetBeans. How can I set a stop condition?

To trigger the debugger by condition, I currently do this.

<?php
for ($i = 0; $i < 100; $i++) {
    echo $i;
    if ($i > 55){
        $a = 1;  // Тут ставится брекпойнт
    }
}

This is certainly not bad, but maybe there are some functions/tools built into NetBeans?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita, 2014-10-21
@Rema1ns

if memory serves, to the left of the line you need to poke)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question