简体   繁体   English

调试已安装的.NET应用程序

[英]Debugging an installed .NET application

Dealing with an error which only seems to occur with an installed .NET 4.0 application on only about half of the machines the application has been installed on. 处理仅在安装了应用程序的大约一半机器上安装的.NET 4.0应用程序似乎发生的错误。

Is there any way to debug the installed files? 有没有办法调试已安装的文件?

So if the files are in C:\\Program files\\MyProgram\\ containing MyProgram.exe and all required dlls, can I somehow debug MyProgram.exe ? 因此,如果文件位于包含MyProgram.exe C:\\Program files\\MyProgram\\和所有必需的dll中,我可以以某种方式调试MyProgram.exe吗?

If you have the source code and the pdb files are on the machine you want to debug from you should be able to do a remote debugger session. 如果您有源代码并且pdb文件位于要从中调试的计算机上,则应该能够执行远程调试器会话。 Here is the MSDN article on how to set it up. 以下是有关如何设置它的MSDN文章

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM