Visual Studio 2012: Can I start a .NET 4.5 application in a remote debugger (and not only attach)?

倾然丶 夕夏残阳落幕 提交于 2019-12-08 02:08:06

问题


Platform: * Visual Studio 2012 * C# WPF application * Visual Studio 2012 remote debugger tools.

My .NET 4.5 application on a 64-bit system crashes at an very early stage. I have the Visual Studio 2012 remote debugging running on the (remote) 64-bit system. I can connect from my development computer with Visual Studio 2012, all fine.

My problem is that I need to attach to a process in order to remotely debug. Before I can attach to the process, the application has crashed. Basically I want to set my breakpoints in the very first lines of the WainWindow.xaml.cs (it is an WPF application).

Is there a chance to start the application remotely and directly attach to the process?

来源:https://stackoverflow.com/questions/14247537/visual-studio-2012-can-i-start-a-net-4-5-application-in-a-remote-debugger-and

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!