Search code examples
visual-studiovisual-studio-2013visual-studio-debuggingwdf

Unable to use "User Mode Debugger" in VS2013 on VirtualBox machine


Trying to configure Visual Studio 2013 (pro, FWIW) to debug a VirtualBox host. I followed this guide and set up the host correctly: It works for kernel mode, but not for user mode. Here is the debugger settings:

Visual Studio Computer configuration of VirtualBox host

When I use kernel mode it works (and I'm debugging the kernel successfully):

Transport and Qualifier: Kernel Mode

But I cannot do it for user mode. I ran:

dbgsrv.exe -t tcp:port=53902

and saw that dbgsrv.exe actually runs, but still I get this:

Transport and Qualifier: User Mode

Actually it makes sense, since I never specified the machine name/IP (where should I enter it?).

The firewall is off and the machine is accessible via network (files sharing).

So how to accomplish user-mode-debugging (Windows User Mode Debugger, not Remote)?


Solution

  • Ok, silly me... the "Computer name" must match the VirtualBox host name...