From 4f0e1ec1c2772904c033f747dc38a08223e8d661 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Thu, 15 Jul 2021 13:42:10 -0400 Subject: delete pages that were never translated from en-US (es, part 2) (#1550) --- .../debugger/how_to/set_a_breakpoint/index.html | 44 ---------------------- 1 file changed, 44 deletions(-) delete mode 100644 files/es/tools/debugger/how_to/set_a_breakpoint/index.html (limited to 'files/es/tools/debugger') diff --git a/files/es/tools/debugger/how_to/set_a_breakpoint/index.html b/files/es/tools/debugger/how_to/set_a_breakpoint/index.html deleted file mode 100644 index 49376ffc9e..0000000000 --- a/files/es/tools/debugger/how_to/set_a_breakpoint/index.html +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: Set a breakpoint -slug: Tools/Debugger/How_to/Set_a_breakpoint -translation_of: Tools/Debugger/How_to/Set_a_breakpoint ---- -
{{ToolsSidebar}}
- -

Puedes establecer una interrupción incondicional en una de las siguientes maneras:

- - - -

When you display the context menu, you have a choice of setting either a breakpoint that will pause code execution when it reaches that line, an unconditional breakpoint, or a conditional breakpoint that will only pause the code if the conditions you define are met:

- -

- -

If you choose to set a conditional breakpoint, you will be able to add the condition:

- -

- -

Each breakpoint is shown in two places in the debugger:

- - - -

Starting in Firefox 67, you can set a column breakpoint on a complex line of code, such as one that makes multiple function calls. For example, if you try to set a breakpoint on the following line, you will have three possible locations for a breakpoint: at the point where the variable value is set, at the call to parse, or at the call to getItem.

- -
tasks = JSON.parse(localStorage.getItem('todoList'));
- -

Possible breakpoints are shown with indicators. The following image shows the line in the debugger. As soon as you click on the line, the three indicators show the possible breakpoints. The default breakpoint is set to the first column. In the image, the second column breakpoint was chosen which you can confirm in the Breakpoints section on the right where it shows that the breakpoint is on the call to parse.

- -

- -

Column breakpoints allow you to break at multiple points on the same line. In the previous example, you could have selected both the call to parse and the call to getItem, or even all three columns to break at each of the possible locations.

- -

In cases where you set breakpoints on multiple columns, the currently active columns breakpoint will be highlighted in the Breakpoints side panel.

-- cgit v1.2.3-54-g00ecf