|
[GHC] #911: Better information about the location of exceptions: msg#00101lang.haskell.glasgow.bugs
#911: Better information about the location of exceptions --------------------------------+------------------------------------------- Reporter: simonmar | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: Runtime System | Version: 6.4.2 Severity: normal | Keywords: Os: Unknown | Difficulty: Unknown Architecture: Unknown | --------------------------------+------------------------------------------- From Frederik Eaton, on glasgow-haskell-bugs: I think it would be a good idea to print instructions for getting more information when a program fails with a pattern match or other error. Rather than {{{ foo: Prelude.undefined }}} it should say {{{ foo: Prelude.undefined For information about the location of this error, recompile with "-prof -auto-all" and run with "+RTS -xc -RTS" }}} Also, maybe these instructions aren't enough? When I do the above, it just prints {{{ <GHC.Err.CAF><GHC.Err.CAF><GHC.Err.CAF><GHC.Err.CAF>foo: Prelude.undefined }}} which isn't what I was looking for... Am I forgetting an option or something? -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/911> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler_______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@xxxxxxxxxxx http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [GHC] #880: someFunction :: TypeRep -> Int, GHC |
|---|---|
| Next by Date: | Re: Bogus stats when running SMP programs, Tomasz Zielonka |
| Previous by Thread: | Re: [GHC] #16: Extensionsflags, GHC |
| Next by Thread: | Re: [GHC] #911: Better information about the location of exceptions, GHC |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |