You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Dumping the memory configuration, virtual processor register state and memory contents on a crash or unexpected VM Exit
41
41
42
-
To dump the details of the memory configuration, the virtual processors register state and the contents of the VM memory set the feature `dump_on_crash` and run a debug build. This will result in a dump file being created in the temporary directory. The name and location of the dump file will be printed to the console and logged as an error message.
42
+
To dump the details of the memory configuration, the virtual processors register state and the contents of the VM memory set the feature `crashdump` and run a debug build. This will result in a dump file being created in the temporary directory. The name and location of the dump file will be printed to the console and logged as an error message.
43
43
44
44
There are no tools at this time to analyze the dump file, but it can be useful for debugging.
Copy file name to clipboardExpand all lines: src/hyperlight_host/Cargo.toml
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -118,9 +118,7 @@ function_call_metrics = []
118
118
executable_heap = []
119
119
# This feature enables printing of debug information to stdout in debug builds
120
120
print_debug = []
121
-
# This feature enables dunping of the VMs details to a file when an unexpected or error exit occurs in a VM in debug mode
122
-
# the name of the file is output to stdout and logged.
123
-
dump_on_crash = ["dep:tempfile"]
121
+
crashdump = ["dep:tempfile"] # Dumps the VM state to a file on unexpected errors or crashes. The path of the file will be printed on stdout and logged. This feature can only be used in debug builds.
0 commit comments