Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remote debugging with visual studio and WinDbg server

Is it possible to use WinDBG as a server (instead of Visual Studio Remote Debugger) and connect to it using Visual Studio?

like image 905
Bogdan Maxim Avatar asked Jun 24 '09 12:06

Bogdan Maxim


People also ask

How do I Debug a remote process in Visual Studio?

Select Configure remote debugging to configure the firewall and start the remote debugger. When configuration is complete, the Remote Debugger window appears. The remote debugger is now waiting for a connection. Use the server name and port number shown to set the remote connection configuration in Visual Studio.

Does Visual Studio use WinDbg?

Visual Studio 2012 has the "Windows User Mode Debugger" transport in the "Attach to Process" dialog. This allows you to use windbg commands in the immediate window.


1 Answers

No this is not possible. WinDbg and Visual Studio use different protocols for remote debugging that are not compatible.

I'm more familiar with Visual Studio's protocol which is RPC + COM based. I'm less familiar with WinDbg's but I believe it is lower protocol. Usually all you need to do is just open a TCP port for WinDbg.

like image 87
JaredPar Avatar answered Sep 30 '22 00:09

JaredPar