Skip to content

Commit b4865f8

Browse files
committed
崩溃提示的堆栈信息中添加分隔线
1 parent 05dd188 commit b4865f8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

TrafficMonitor/crashtool.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ class CCrashReport
115115
pSymbol->SizeOfStruct = sizeof(SYMBOL_INFO);
116116
pSymbol->MaxNameLen = MAX_SYM_NAME;
117117

118+
stream << L"--------------------------------------\r\n";
119+
118120
DWORD64 displacement = 0;
119121
if (SymFromAddr(GetCurrentProcess(), stackFrame.AddrPC.Offset, &displacement, pSymbol)) {
120122
stream << L"Function: " << CCommon::AsciiToUnicode(pSymbol->Name) << L" (Displacement: " << displacement << L")\r\n";

0 commit comments

Comments
 (0)