sys_debug_1

所属分类:其他小程序
开发工具:Visual C++
文件大小:35KB
下载次数:13
上传日期:2008-07-28 12:05:10
上 传 者ysulcb
说明:  VC调试信息监视器(Visual C++ Custom Debug Monitor)源码,用于程序调试
(VC monitor debugging information (Visual C++ Custom Debug Monitor) source code for program debugging)

文件列表:
Debug.aps (38444, 2000-05-04)
Debug.clw (2369, 2000-05-04)
Debug.cpp (1978, 2000-05-04)
Debug.dep (512, 2000-05-04)
Debug.dsp (4430, 2000-05-04)
Debug.dsw (533, 2000-05-04)
Debug.h (1321, 1997-09-12)
Debug.ico (1078, 1997-09-12)
Debug.mak (5665, 2000-05-04)
Debug.opt (54784, 2000-05-04)
Debug.plg (671, 1998-01-02)
Debug.rc (7889, 2000-05-04)
DebugDlg.cpp (6487, 2000-05-04)
DebugDlg.h (1534, 2000-05-04)
Globals.cpp (278, 1997-12-14)
Globals.h (260, 1997-12-14)
OptionsDlg.cpp (2632, 1997-12-14)
OptionsDlg.h (1414, 1997-12-14)
Release (0, 2001-04-12)
Release\Debug.exe (28672, 2000-05-04)
RES (0, 2001-04-12)
RESOURCE.H (1406, 1998-01-02)
RES\Debug.ico (1078, 1997-09-02)
RES\Debug.rc2 (397, 1997-09-12)
StdAfx.cpp (203, 1997-09-12)
StdAfx.h (987, 1997-09-12)

------------------------------------------------------------------------------ Program : Visual C++ Custom Debug Monitor 1.0 Files : CDebug.cpp CDebug.h Debug.exe Author : Daniel Chirca Email : D.Chirca@finsiel.ro Version : 1.0 ------------------------------------------------------------------------------ Program description ------------------------------------------------------------------------------ CDebug class implements for Visual C++ more or less the functionality that Visual Basic provides, i.e. the posibility to insert into your C++ source code calls like Debug.printf(...), and watch the messages in a separate window (Immediate window), without the need to work with the Debug version of the project. Using the program ------------------------------------------------------------------------------ - Insert into your Visual C++ project the CDebug.cpp and CDebug.h files - Create a global instance of the CDebug class, for example: CDebug Debug; (don't forget the include statement: #include "Cdebug.h") - insert your debug messages anywhere you like: Debug.Printf0(...); or Debug.Printf1(...); or Debug.Printf2(...); or Debug.Printf3(...); - run the Debug.exe program (a nice ideea is to put it into your Tools menu from IDE environment), select the "Options" button to customize his behaviour, then press the "Start" button. - run your project. - watch your messages... Notes ------------------------------------------------------------------------------ - The Debug.printfx (where x=0, 1, 2, 3) functions accepts the same arguments as the printf function does (formatting, ...) - x(=0, 1, 2, 3) means the message level: printf0 sends level 0 messages printf1 sends level 1 messages printf2 sends level 2 messages printf3 sends level 3 messages - Use the "Options" button from Debug.exe to customize which messages you want to intercept... Other Notes ------------------------------------------------------------------------------ - You are free to modify the source code in CDebug.cpp and CDebug.h anyway you want, but please send me an e-mail if you do it. Special thanks ------------------------------------------------------------------------------ I want to give thanks to Cecil A. Galbraith, from CustomSoft, from which I took the ideea to develop my own debug utility. Dan May 2000

近期下载者

相关文件


收藏者