bgamari / ghc-debug

Moved to Haskell.org GitLab.
https://gitlab.haskell.org/ghc/ghc-debug
62 stars 10 forks source link

Add a warning to stub methods in GHC if they are called #15

Open mpickering opened 5 years ago

mpickering commented 5 years ago

The user application needs to be compiled with threaded for the debugger to work. Currently if you don't compile with threaded then nothing happens without a warning. This was a bit confusing when it happened to me so we should make it an error to call these methods if you haven't enabled -threaded.

obreitwi commented 5 years ago

https://gitlab.haskell.org/ghc/ghc/merge_requests/1673/