问题
I'm trying to debug an operating system that I am developing.
When I start up the VM machine with VirtualBoxVM --startvm "X" --debug
the VM starts paused, but when I execute the 'g' command to continue execution I get this error:
g: error: The VM is already running
But when I start my virtual machine without --debug
, everything works fine, but I can't debug.
Why does that error message appear?
The VM starts stopped, so the message doesn't make sense and it doesn't allow me to debug my OS.
来源:https://stackoverflow.com/questions/60553100/virtualbox-debugging-g-error-the-vm-is-already-running