#8429: GHC.Base.{breakpoint, breakpointCond} do nothing
------------------------------------+-------------------------------------
Reporter: refold | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.6.3
Keywords: | Operating System: Unknown/Multiple
Architecture: Unknown/Multiple | Type of failure: None/Unknown
Difficulty: Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: 1377 |
------------------------------------+-------------------------------------
The `GHC.Exts` module exports functions
[[http://hackage.haskell.org/package/base-4.6.0.1/docs/GHC-
Exts.html#g:6|breakpoint and breakpointCond]]. Right now they are no-ops,
but apparently at some point in the past could be used to set breakpoints
programmatically. From my reading of the source code, this feature was
removed (either accidentally or on purpose) when the implementation of
breakpoints [[changeset:cdce647711c0f46f5799b24de087622cb77e647f/ghc|was
reworked]].
Relevant commits:
* 31751ccacc24ebe5d15a0af84b10dc612d455440
* 3a99fa889bdff0c86df20cb18c71d30e30a79b43
* cdce647711c0f46f5799b24de087622cb77e647f
Initially reported [http://stackoverflow.com/questions/19283911/how-do-i
-use-ghc-exts-breakpoint here].
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8429>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
ghc-tickets mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/ghc-tickets