简体   繁体   English

我为控制台应用程序附加了什么过程?

[英]what process do I attach to for a console app?

当我想调试.net控制台应用程序时,我会附加什么进程?

You attach to the application process itself. 您附加到应用程序进程本身。 A console application is no different from a winforms or wpf application in that sense. 在这个意义上,控制台应用程序与winforms或wpf应用程序没有什么不同。

You should attach to the name of the process you want to debug. 您应该附加到要调试的进程的名称。 Typically this is the same name as the name of the project when opened in Visual Studio. 通常,此名称与在Visual Studio中打开时的项目名称相同。

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

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