You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When debugging an error it is very important to identify the "speaker" who emitted the error message.
For example, I recently had to figure out which tool causes the following error on the command line:
Hpc failure: module mismatch with .tix/.mix file hash number
(perhaps remove Example.tix file?)
After some search it turned out that the the error originates from the GHC runtime system. Errors coming from GHC are already easily identifiable by the [GHC-XXXX] prefix, stack and ghcup have implemented the same convention, and cabal will soon follow suit in version 3.12.
I don't think it is necessary to go to the great lengths as the structured error message proposal for GHC, but maybe it would be possible to go through the C code of the RTS and make sure that every error message emitted by the RTS identifies itself as such, maybe by a prefix like [GHC-RTS] or something like that.
The text was updated successfully, but these errors were encountered:
When debugging an error it is very important to identify the "speaker" who emitted the error message.
For example, I recently had to figure out which tool causes the following error on the command line:
After some search it turned out that the the error originates from the GHC runtime system. Errors coming from GHC are already easily identifiable by the
[GHC-XXXX]
prefix, stack and ghcup have implemented the same convention, and cabal will soon follow suit in version 3.12.I don't think it is necessary to go to the great lengths as the structured error message proposal for GHC, but maybe it would be possible to go through the C code of the RTS and make sure that every error message emitted by the RTS identifies itself as such, maybe by a prefix like
[GHC-RTS]
or something like that.The text was updated successfully, but these errors were encountered: