Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
debugger: document pause and setBreakpoint(line)
Browse files Browse the repository at this point in the history
Fixes #2381
  • Loading branch information
indutny authored and ry committed Dec 19, 2011
1 parent 3966e4e commit 802c4c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/api/debugger.markdown
Expand Up @@ -93,10 +93,12 @@ prints the active watchers. To remove a watcher, type
* `next`, `n` - Step next
* `step`, `s` - Step in
* `out`, `o` - Step out
* `pause` - Pause running code (like pause button in Developer TOols)

#### Breakpoints

* `setBreakpoint()`, `sb()` - Set breakpoint on current line
* `setBreakpoint(line)`, `sb(line)` - Set breakpoint on specific line
* `setBreakpoint('fn()')`, `sb(...)` - Set breakpoint on a first statement in
functions body
* `setBreakpoint('script.js', 1)`, `sb(...)` - Set breakpoint on first line of
Expand Down

0 comments on commit 802c4c6

Please sign in to comment.