Answer the question
In order to leave comments, you need to log in
Why put multiple breakpoints at once?
Such a question: it turns out that the breakpoint stops the execution of the script in the browser on the line on which it was set. Stopping is done once: after one stop, the script cannot stop again, because it has already been stopped .
Why, then, do some programmers put several of these breakpoints when debugging? As I understand it, a breakpoint is only needed to see how the script code was executed in the browser before stopping. You can view the values of variables using the "arrows" - step into, step out ...
What do I not know?
Answer the question
In order to leave comments, you need to log in
>> Why then do some programmers set several of these breakpoints when debugging?
For example:
- to find out which function will be executed first
- to make sure that the program does not enter these places during execution
You can figure out how to use it yourself. In general, everything that is not forbidden is allowed.
What don't I know?
Why, then, do some programmers put several of these breakpoints when debugging?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question