WRAPTRACE() - Long String Debugging Macr - 项目摘要 |
摘要
| 管理 |
论坛 文档
| 软件包 |
|
|
|
项目描述: |
I kept running into situations where, during debugging, I needed to view the contents of long strings. None of the features available in VC++ were satisfactory. The onscreen, expression, hover feature only displays one screen-width line of the variable's contents. Also, even though an AfxMessageBox() can display thousands of characters, it doesn't have scroll bars and is therefore limited to a viewing area of one screen (about 4,200 characters). In addition, you cannot capture text from an AfxMessageBox(). Finally, MFC's TRACE() debug maco is limited to dumping a maximum of 512 characters to the output window.
在调试时我经常需要查看很长的字符串的内容。VC++没有提供工具满足我的需求,只能显示屏幕宽度长的变量的内容。即使使用AfxMessageBox()可以显示大量字符,但它没有提供滚动条,所以还是受限于屏幕查看区域的大小(大约4,200个字符)。此外,也不能获得AfxMessageBox()的文本。最后MFC的TRACE() 最多能在输出窗口中显示512个字符。
来源: http://www.codeguru.com/debug/wraptrace.shtml |
类别: |
|
发布者:
cbd002
|
|
最新发布源码包 |
软件包 |
版本号 |
日期 |
本地下载 |
wraptrace |
 1.0  |
2004-03-22 |
下载 |
|
|