Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Include filename and line number in error messages
?WAS_CALLED now includes the location (filename and line number) where the criteria failed (when it does). This is redundant when using Erlang/OTP R15B (which provides line numbers in stack traces) or later, but may prove useful for earlier versions. ?WAIT_CALLED now displays the location which waits for the criteria to be fulfilled which aids troubleshooting. The filename and line numbers are printed in a format which the compilation mode in emacs renders as clickable links. Based on ideas from Magnus F and Tomas A.
- Loading branch information
Showing
4 changed files
with
70 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters