diff options
author | Pepe Iborra <mnislaih@gmail.com> | 2007-01-15 09:56:43 +0000 |
---|---|---|
committer | Pepe Iborra <mnislaih@gmail.com> | 2007-01-15 09:56:43 +0000 |
commit | d9d5078afde809382d009b5419c6bc1b87e5cca6 (patch) | |
tree | 070bb004c77cddb793cc0fc87f8b445c85900e35 | |
parent | 2571277b010eaac394b6d573c136e539ead069ce (diff) | |
download | haskell-d9d5078afde809382d009b5419c6bc1b87e5cca6.tar.gz |
Documentation for the new ':breakpoint continue' command
-rw-r--r-- | docs/users_guide/ghci.xml | 33 |
1 files changed, 31 insertions, 2 deletions
diff --git a/docs/users_guide/ghci.xml b/docs/users_guide/ghci.xml index e722739b50..0142e1eb8b 100644 --- a/docs/users_guide/ghci.xml +++ b/docs/users_guide/ghci.xml @@ -906,7 +906,7 @@ $ ghci -lm <varlistentry> <term> - <literal>:breakpoint</literal> <replaceable>list|add|del|stop|step</replaceable> ... + <literal>:breakpoint</literal> <replaceable>list|add|continue|del|stop|step</replaceable> ... <indexterm><primary><literal>:breakpoint</literal></primary></indexterm> </term> <listitem> @@ -963,6 +963,15 @@ $ ghci -lm <varlistentry> <term> + <literal>:continue</literal> + <indexterm><primary><literal>:continue</literal></primary></indexterm> + </term> + <listitem> Shortcut to <literal>:breakpoint continue </literal> + </listitem> + </varlistentry> + + <varlistentry> + <term> <literal>:def</literal> <replaceable>name</replaceable> <replaceable>expr</replaceable> <indexterm><primary><literal>:def</literal></primary></indexterm> </term> @@ -1556,7 +1565,7 @@ Prelude> :set -fno-glasgow-exts in the context of the event, as well as evaluate arbitrary Haskell expressions in a special interactive prompt. </para><para> - When you are done you issue the <literal>:quit</literal> + When you are done you issue the <literal>:continue</literal> 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 <literal>line</literal> in <literal>module</literal>, if any. </para></listitem> </varlistentry> + +<varlistentry> + <term> + <literal>:breakpoint continue</literal> + </term> + <listitem><para> + When at a breakpoint, continue execution up to the next breakpoint + or end of evaluation. + </para></listitem> +</varlistentry> + +<varlistentry> + <term> + <literal>:continue</literal> + </term> + <listitem><para> + Shortcut for <literal>:breakpoint continue</literal> + </para></listitem> +</varlistentry> + <varlistentry> <term> <literal>:breakpoint list</literal> |