diff options
author | Kurtis Rader <krader@skepticism.us> | 2016-05-15 19:45:02 -0700 |
---|---|---|
committer | Kurtis Rader <krader@skepticism.us> | 2016-05-17 14:52:55 -0700 |
commit | 73f2992a2e9ef1c96d45d9e90cc5e1f63a0afc92 (patch) | |
tree | cd32803426e1abf4910ecdbad333c2b19af46d2c /doc_src | |
parent | d55113b5b5e242b1ccfd7d8c916c38b7092b0bd3 (diff) |
make debug() output more useful
This change does several things. First, and most important, it allows
dumping the "n" most recent stack frames on each debug() call. Second,
it demangles the C++ symbols. Third, it prepends each debug() message
with the debug level.
Unrelated to the above I've replaced all `assert(!is_forked_child());`
statements with `ASSERT_IS_NOT_FORKED_CHILD()` for consistency.
Diffstat (limited to 'doc_src')
-rw-r--r-- | doc_src/fish.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc_src/fish.txt b/doc_src/fish.txt index bf9c3eb1..eb4d24ba 100644 --- a/doc_src/fish.txt +++ b/doc_src/fish.txt @@ -25,4 +25,6 @@ The following options are available: - `-v` or `--version` display version and exit +- `-D` or `--debug-stack-frames=DEBUG_LEVEL` specify how many stack frames to display when debug messages are written. The default is zero. A value of 3 or 4 is usually sufficient to gain insight into how a given debug call was reached but you can specify a value up to 128. + The fish exit status is generally the exit status of the last foreground command. If fish is exiting because of a parse error, the exit status is 127. |