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
-
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.
40
+
## Dumping the guest state to an ELF core dump
41
+
42
+
To dump the state of the vCPU (general purpose registers, registers) to an `ELF` core dump file set the feature `crashdump` and run a debug build. This will result in a dump file being created in the temporary directory.
43
+
The name and location of the dump file will be printed to the console and logged as an error message.
44
+
45
+
After the core dump has been created, to inspect the state of the guest, load the core dump file using `gdb` or `lldb`.
46
+
To do this in vscode, the following configuration can be used to add debug configurations:
0 commit comments