Commit 461e83a
committed
src: improve Error message on LoadPtr
Knowing why LoadPtr failed can be quite helpful when debugging llnode,
but the current message doesn't give any additional information. Sharing
the address llnode tried to load, as well as the supposed type for that
address makes debugging easier. The type name is only shown on Debug
builds.
PR-URL: #351
Reviewed-By: Anna Henningsen <anna@addaleax.net>1 parent 1948512 commit 461e83a
2 files changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
29 | 32 | | |
30 | 33 | | |
31 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
64 | 70 | | |
65 | 71 | | |
66 | 72 | | |
| |||
0 commit comments