最新消息: USBMI致力于为网友们分享Windows、安卓、IOS等主流手机系统相关的资讯以及评测、同时提供相关教程、应用、软件下载等服务。

DebugView使用方法

互联网 admin 5浏览 0评论

DebugView使用方法

1、DebugView是什么

DebugView是一个系统调试工具输出调试工具。DebugView可以捕获由Debug程序运行时输出的调试信息,使用Trace()和OutputDebugString()函数。

2、使用方法

在Debug版本的程序中调用Trace()或者OutputDebugString()。

a、OutputDebugString()或者Trace()。

b、在内核中调用Out_Debug_String或者DbgPrint或者_Dug_Print_Service

c、编写的程序为Debug版本,独立运行,不是在开发环境中运行。

3、例子

#include "stdafx.h"#include <tchar.h>
#include <stdlib.h>
#include "windows.h"#define DefineDebugViewint main()
{#ifdef DefineDebugViewOutputDebugString(_T("TestSting"));
#endifreturn 0;}

DebugView使用方法

1、DebugView是什么

DebugView是一个系统调试工具输出调试工具。DebugView可以捕获由Debug程序运行时输出的调试信息,使用Trace()和OutputDebugString()函数。

2、使用方法

在Debug版本的程序中调用Trace()或者OutputDebugString()。

a、OutputDebugString()或者Trace()。

b、在内核中调用Out_Debug_String或者DbgPrint或者_Dug_Print_Service

c、编写的程序为Debug版本,独立运行,不是在开发环境中运行。

3、例子

#include "stdafx.h"#include <tchar.h>
#include <stdlib.h>
#include "windows.h"#define DefineDebugViewint main()
{#ifdef DefineDebugViewOutputDebugString(_T("TestSting"));
#endifreturn 0;}

与本文相关的文章

发布评论

评论列表 (0)

  1. 暂无评论