diff options
author | Pepe Iborra <mnislaih@gmail.com> | 2007-04-26 10:18:53 +0000 |
---|---|---|
committer | Pepe Iborra <mnislaih@gmail.com> | 2007-04-26 10:18:53 +0000 |
commit | b2bb677672adb478425787563a9f344b70987105 (patch) | |
tree | f59616f101b841ac04ecd12c0e0fbf7c31e5602b /docs | |
parent | 45b04f650e6985c524301112a8381a1aff808fc6 (diff) | |
download | haskell-b2bb677672adb478425787563a9f344b70987105.tar.gz |
We don't have -fdebugging anymore, and fine tuning is not really necessary now
Diffstat (limited to 'docs')
-rw-r--r-- | docs/users_guide/ghci.xml | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/docs/users_guide/ghci.xml b/docs/users_guide/ghci.xml index 54ce6b7c74..9775c34ffe 100644 --- a/docs/users_guide/ghci.xml +++ b/docs/users_guide/ghci.xml @@ -966,10 +966,6 @@ $ ghci -lm </term> <listitem> <para>Permits to add, delete or list the breakpoints in a debugging session. - In order to make this command available, the - <literal>-fdebugging</literal> flag must be active. The easiest way is to launch - GHCi with the <literal>-fdebugging</literal> option. For more - details on how the debugger works, see <xref linkend="ghci-debugger"/>. </para> </listitem> </varlistentry> @@ -1606,9 +1602,6 @@ Prelude> :set -fno-glasgow-exts <listitem> <para>The module must have been loaded interpreted, i.e. not loaded from an <filename>.o</filename> file compiled by ghc </para> </listitem> - <listitem> - <para>The module must have been loaded with the <literal>-fdebugging</literal> flag - </para></listitem> </itemizedlist></para> <sect2><title>Using the debugger</title> <para>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. </para> <para> @@ -1918,11 +1911,6 @@ Just 20 </sect2> <sect2><title>Tips</title> <variablelist> - <varlistentry><term>* Use PRAGMAs to fine tune which modules are loaded under debugging mode</term> - <listitem> - <programlisting>{-# OPTIONS_GHC -fdebugging #-}</programlisting> - </listitem> - </varlistentry> <varlistentry> <term>* Repeated use of <literal>seq</literal> and <literal>:print</literal> may be necessary to observe unevaluated untyped bindings</term> @@ -1962,13 +1950,6 @@ Main.hs:15> x' at the scope of a breakpoint if there is a explicit type signature. </para></listitem> </itemizedlist> - <itemizedlist> - <listitem><para> - Modules compiled by GHCi under the <literal>-fdebugging - </literal> flag will perform slower: the debugging mode introduces some overhead. - Modules compiled to object code by ghc are not affected. - </para></listitem> - </itemizedlist> </para> </sect2> </sect1> |