Difference between revisions of "Undebug"

From FirebugWiki
Jump to: navigation, search
(Added parameter description and examples)
m (Added categories)
 
Line 33: Line 33:
 
* [[debug]]
 
* [[debug]]
 
* [[Command Line API]]
 
* [[Command Line API]]
 +
 +
[[Category:Firebug]]
 +
[[Category:UI]]
 +
[[Category:API]]

Latest revision as of 16:05, 21 November 2013

Removes the breakpoint on the first line of a JavaScript function.

This breakpoint can also be removed via the Breakpoints Side Panel.

Syntax[edit]

undebug(fn)

Parameters[edit]

fn[edit]

Function to remove the breakpoint from. (required)

Examples[edit]

Having the following function with a breakpoint at line 3:

1 function test()
2 {
3     console.log("test1");
4     console.log("test2");
5     console.log("test3");
6 }
undebug(test)

This removes the breakpoint set at line 3 (console.log("test1");).

See also[edit]