又是一个因用着不爽而自己写的作品,DbgView好是好但对过长的输出支持不好,还不支持查看原始数据,长度还有限制,而且监视来自其他pc的输出数据太麻烦,unicode/utf8这种编码也不太好用。
截图



流程图


界面说明
主列表
# 数据唯一ID(非序号,序号可参见状态栏Count/Line)
Time 数据发送时间
Host 数据来源主机地址
Source 数据来源PID/Name
Debug Print 数据
数据显示
Edit-1 原始数据
Edit-2 可视数据
状态栏
hWnd 窗口句柄
Server tcp状态
DeBug OutputDebugString监听状态
Client 输出客户端数量
Queue 队列内等待加入的数量
Count 列表内数据数量
Line 列表选中行
Lenght 选中数据长度
LenghtRaw 选中原始数据长度 (发送过来的数据)
API
// 初始化,内部会自动调用
// host 接收端 域/ip,默认本机
void LogOutputInit(
LPCSTR host
);
// 设置主机
// host 接收端 域/ip,默认本机
BOOL LogOutputSetHost(
LPCSTR host
);
// 输出(Ansi)
// DebugPrint 输出数据
// Source 来源(可空)
BOOL LogOutputA(
LPCSTR DebugPrint,
LPCSTR Source
);
// 输出(Unicode)
// DebugPrint 输出数据
// Source 来源(可空)
BOOL LogOutputW(
LPCWSTR DebugPrint,
LPCWSTR Source
);
// 输出(Utf-8)
// DebugPrint 输出数据
// Source 来源(可空)
BOOL LogOutputU(
LPCWSTR DebugPrint,
LPCWSTR Source
);
// DLL:
// DeLog_DLL.dll