Location:
Search - dt_2005
Search list
Description: 实时接收VC++程序Debug和Release下的自定义调试输出,可以极大的方便程序的调试.
用法(以CTestMFCApp为例):
在TestMFCApp的stdafx.h中加入#include "dt_2005.h"
在.cpp需要输出调试信息的代码行加入
DT("hello,year d",2009)
DW("This is a warning msg")
DE("error")
用DT.exe来接收输出的信息
DT用来输出一般信息,
DW用来输出警告信息,以粉红色文字显示
DE用来输出错误信息,以红色文字显示
在DT.exe中会显示文件名和行号.-Receive real-time VC++ program under Debug and Release custom debug output, you can greatly facilitate the process of debugging. Usage (as an example to CTestMFCApp): In stdafx.h add TestMFCApp the# include " dt_2005.h" in. cpp need to output debugging information by adding lines of code DT ( " hello, year d" , 2009) DW ( " This is a warning msg" ) DE ( " error" ) with DT.exe information to receive the output DT general information to the output, DW used to output a warning message to show pink text DE to output error message in red text will appear in the show DT.exe file name and line number.
Platform: |
Size: 101376 |
Author: xwp |
Hits: