Merge branch 'master' of git://factorcode.org/git/factor
commit
7a2aecea1c
|
@ -11,6 +11,7 @@ ARTICLE: "debugger" "The debugger"
|
||||||
"User-defined errors can have customized printed representation by implementing a generic word:"
|
"User-defined errors can have customized printed representation by implementing a generic word:"
|
||||||
{ $subsection error. }
|
{ $subsection error. }
|
||||||
"A number of words facilitate interactive debugging of errors:"
|
"A number of words facilitate interactive debugging of errors:"
|
||||||
|
{ $subsection :error }
|
||||||
{ $subsection :s }
|
{ $subsection :s }
|
||||||
{ $subsection :r }
|
{ $subsection :r }
|
||||||
{ $subsection :c }
|
{ $subsection :c }
|
||||||
|
@ -22,10 +23,15 @@ ARTICLE: "debugger" "The debugger"
|
||||||
{ $subsection :2 }
|
{ $subsection :2 }
|
||||||
{ $subsection :3 }
|
{ $subsection :3 }
|
||||||
{ $subsection :res }
|
{ $subsection :res }
|
||||||
"You can read more about error handling in " { $link "errors" } "." ;
|
"You can read more about error handling in " { $link "errors" } "."
|
||||||
|
$nl
|
||||||
|
"Note that in Factor, the debugger is a tool for printing and inspecting errors, not for walking through code. For the latter, see " { $link "ui-walker" } "." ;
|
||||||
|
|
||||||
ABOUT: "debugger"
|
ABOUT: "debugger"
|
||||||
|
|
||||||
|
HELP: :error
|
||||||
|
{ $description "Prints the most recent error. Used for interactive debugging." } ;
|
||||||
|
|
||||||
HELP: :s
|
HELP: :s
|
||||||
{ $description "Prints the data stack at the time of the most recent error. Used for interactive debugging." } ;
|
{ $description "Prints the data stack at the time of the most recent error. Used for interactive debugging." } ;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue