X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=docs%2Fusers_guide%2Fghci.xml;h=5f38b376245036e51cd2109888346f327c00df2e;hb=8d276febb7e186affdcd9fa39f5a185a2e15847e;hp=e722739b5035ec93491ceafdc0bac46ec741aa9a;hpb=586149353a755cf7ba7c0bd499a397c3c8230839;p=ghc-hetmet.git diff --git a/docs/users_guide/ghci.xml b/docs/users_guide/ghci.xml index e722739..5f38b37 100644 --- a/docs/users_guide/ghci.xml +++ b/docs/users_guide/ghci.xml @@ -906,7 +906,7 @@ $ ghci -lm - :breakpoint list|add|del|stop|step ... + :breakpoint list|add|continue|del|stop|step ... :breakpoint @@ -963,6 +963,15 @@ $ ghci -lm + :continue + :continue + + Shortcut to :breakpoint continue + + + + + :def name expr :def @@ -1551,12 +1560,12 @@ Prelude> :set -fno-glasgow-exts Using the debugger - The debugger allows the insertion of breakpoints at specific locations in the source code. These locations are goberned by event sites, and not by line as in traditional debuggers such as gdb. + The debugger allows the insertion of breakpoints at specific locations in the source code. These locations are governed by event sites, and not by line as in traditional debuggers such as gdb. Once a breakpointed event is hit, the debugger stops the execution and you can examine the local variables in scope in the context of the event, as well as evaluate arbitrary Haskell expressions in a special interactive prompt. - When you are done you issue the :quit + When you are done you issue the :continue command to leave the breakpoint and let the execution go on. Note that not all the GHCi commands are supported in a breakpoint. @@ -1706,6 +1715,26 @@ x :: Int at line line in module, if any. + + + + :breakpoint continue + + + When at a breakpoint, continue execution up to the next breakpoint + or end of evaluation. + + + + + + :continue + + + Shortcut for :breakpoint continue + + + :breakpoint list