Hi. I succeeded in following https://sysprogs.com/VisualKernel/tutorials/directssh/ sample using two VirtualBox Ubuntu 17 machines, but after having run a debugging session without hiccups (breakpoint, printk tracing, etc.) for a minute or so, suddenly target machine hangs, and I have to reset it in order to start a new debug session.
The debug part of the Linux kernel is relatively buggy – unless you are using JTAG or the VMWare debug stub that runs outside the kernel, the debugging functionality will run inside the kernel and may eventually lock up when the debugger-related logic tries to access some kernel resources that are used by some other part. VisualKernel does its best working around known instances of this, however there are still many cases when debugging is not reliable.
For best debugging experience we recommend using the VMware GDB stub that runs outside the kernel.