Commit 93963b9
authored
Show target VM exceptions as result in evaluate requests (#428)
This changes the result of an expression like `Long.parseLong("foo")`
sent to the evaluate handler from:
org.eclipse.debug.core.DebugException: com.sun.jdi.InvocationException: Exception occurred in target VM occurred invoking method.
to the actual exception:
NumberFormatException@76 "java.lang.NumberFormatException: For input string: "foo""
backtrace: Object[6]@82
cause: NumberFormatException@76
depth: 46
detailMessage: "For input string: "foo""
stackTrace: StackTraceElement[0]@84
suppressedExceptions: Collections$EmptyList@85 size=01 parent 1fcbe70 commit 93963b9
File tree
1 file changed
+17
-3
lines changed- com.microsoft.java.debug.plugin/src/main/java/com/microsoft/java/debug/plugin/internal/eval
1 file changed
+17
-3
lines changedLines changed: 17 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
328 | 329 | | |
329 | 330 | | |
330 | 331 | | |
331 | | - | |
332 | | - | |
333 | | - | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
334 | 348 | | |
335 | 349 | | |
336 | 350 | | |
| |||
0 commit comments