Add docs for break and B words

db4
Slava Pestov 2009-08-22 17:45:18 -05:00
parent 81b72cb5c5
commit d85b66536f
3 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,6 @@
IN: tools.continuations
USING: help.markup help.syntax ;
HELP: break
{ $description "A breakpoint. When this word is executed, the walker tool opens with execution suspended at the breakpoint's location." }
{ $see-also "ui-walker" } ;

View File

@ -0,0 +1,5 @@
IN: tools.walker
USING: help.syntax help.markup tools.continuations ;
HELP: B
{ $description "An alias for " { $link break } ", defined in the " { $vocab-link "syntax" } " vocabulary so that it is always available." } ;

View File

@ -28,6 +28,7 @@ ARTICLE: "breakpoints" "Setting breakpoints"
$nl
"Breakpoints can be inserted directly into code:"
{ $subsection break }
{ $subsection POSTPONE: B }
"Note that because the walker calls various core library and UI words while rendering its own user interface, setting a breakpoint on a word such as " { $link append } " or " { $link draw-gadget } " will hang the UI." ;
ARTICLE: "ui-walker" "UI walker"