Skip to content

Commit 4e6c441

Browse files
committed
Improve Debugging documentation
1 parent 786d338 commit 4e6c441

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

doc/user/debugging.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,14 @@
33
## Printing Exceptions
44

55
There are two ways to print exceptions, which can be useful to find the source of an error:
6+
67
* the standard Ruby `-d` flag which print the `file:line` where each exception was raised.
78
* `--backtraces-raise` which show the full backtrace on each exception raised.
89

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`.
1014

1115
See other `--backtraces-*` and `--exceptions-*` options for more possibilities.
1216

0 commit comments

Comments
 (0)