简体   繁体   English

Visual Studio调试器问题

[英]Visual Studio debugger questions

With Visual Studio debugger is it possible to save out the information after a failed build or is there a way I can make something that will run with the debugger to catch and store this info I'm after this data for a add in that I would like to attempt but was just wondering if this is possible first before I go neck deep in this. 使用Visual Studio调试器,可以在构建失败后保存信息,或者有一种方法可以使我在调试器中运行某些东西,以捕获和存储该信息。我想尝试一下,但只是想知道在我深入研究之前是否有可能首先做到这一点。

How would I access it if this is possible? 如果可能,我将如何访问它?

This may be a half answer, but you can build a project via command line. 这可能是一个半答案,但是您可以通过命令行来构建项目。 You can gather any errors from the output there in an application etc.. 您可以在应用程序等中从输出中收集任何错误。

devenv "C:\Documents and Settings\someuser\My Documents\Visual Studio\Projects\MySolution\MySolution.sln" /build Debug /project "CSharpWinApp\CSharpWinApp.csproj" /projectconfig Debug 

See: http://msdn.microsoft.com/en-us/library/b20w810z(v=vs.90).aspx 请参阅: http : //msdn.microsoft.com/zh-cn/library/b20w810z(v=vs.90).aspx

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

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