We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 786d338 commit 4e6c441Copy full SHA for 4e6c441
doc/user/debugging.md
@@ -3,10 +3,14 @@
3
## Printing Exceptions
4
5
There are two ways to print exceptions, which can be useful to find the source of an error:
6
+
7
* the standard Ruby `-d` flag which print the `file:line` where each exception was raised.
8
* `--backtraces-raise` which show the full backtrace on each exception raised.
9
-Both are printed even if the exception is later rescued.
10
+Both print all exceptions even if the exceptions are later rescued.
11
12
+Java exceptions can be printed with `exceptions-print-uncaught-java` or
13
+`--exceptions-print-java`.
14
15
See other `--backtraces-*` and `--exceptions-*` options for more possibilities.
16
0 commit comments