Undebug

From FirebugWiki

Revision as of 00:05, 22 November 2013 by Sebastianz (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

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

Contents

[edit] Syntax

undebug(fn)

[edit] Parameters

[edit] fn

Function to remove the breakpoint from. (required)

[edit] Examples

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");).

[edit] See also

Personal tools