[Git][ghc/ghc][master] users-guide: Document GHCi :where command
Marge Bot (@marge-bot)
gitlab at gitlab.haskell.org
Mon Oct 14 13:13:40 UTC 2024
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
745dd590 by Ben Gamari at 2024-10-14T09:13:12-04:00
users-guide: Document GHCi :where command
Resolve #24509.
- - - - -
1 changed file:
- docs/users_guide/ghci.rst
Changes:
=====================================
docs/users_guide/ghci.rst
=====================================
@@ -1601,6 +1601,10 @@ breakpoint on a let expression, but there will always be a breakpoint on
its body, because we are usually interested in inspecting the values of
the variables bound by the let.
+While stopped at a breakpoint one can show the current evaluation
+stack with the :ghci-cmd:`:where` command.
+
+
Managing breakpoints
^^^^^^^^^^^^^^^^^^^^
@@ -3081,6 +3085,10 @@ commonly used commands.
The :ghci-cmd:`:uses` command requires :ghci-cmd:`:set +c` to be set.
+.. ghci-cmd:: :where
+
+ Show the current evaluation stack while stopped at a breakpoint.
+
.. ghci-cmd:: :: ⟨builtin-command⟩
Executes the GHCi built-in command (e.g. ``::type 3``). That is,
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/745dd590eac8f29b547747f4a7554029aaf2c188
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/745dd590eac8f29b547747f4a7554029aaf2c188
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20241014/7146a504/attachment-0001.html>
More information about the ghc-commits
mailing list