将输出窗口写入文件 [英] Writing the output window to a file

查看:67
本文介绍了将输出窗口写入文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道在程序调试时是否可以在Visual Studio中获取输出窗口的内容?我的应用程序使用跟踪函数将信息写入文件,但我想将库状态包含在此文件中。


和想法?

Does anyone know if it''s possible to get the contents of the output window in Visual Studio while the program is debugging? I have my application using a trace function that writes the information to a file, but I''d like to have the library status included in this file.

And ideas?

推荐答案

在任何时候我认为你可以选择从visual studio界面保存它
At any point in time I think you can choose to save it from the visual studio interface



在任何时候我认为你可以选择从visual studio界面保存它
At any point in time I think you can choose to save it from the visual studio interface



这是真的,但我希望看到如何应用程序运行时库和线程的启动/退出时间。

This is true, however I was hoping to see how the timing of the libraries and thread starts/exits while the application is running.



这是真的,但我希望看到如何应用程序运行时库和线程的启动/退出时间。
This is true, however I was hoping to see how the timing of the libraries and thread starts/exits while the application is running.



实现在应用程序运行时为您记录此信息的功能。

Implement functionality that records this information for you while the application is running.


这篇关于将输出窗口写入文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆