Browse Source

Add newline to stack trace on Windows

tags/v1.0.0
Andrew Belt 5 years ago
parent
commit
704dd3f485
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/system.cpp

+ 1
- 1
src/system.cpp View File

@@ -140,7 +140,7 @@ std::string getStackTrace() {

for (int i = 0; i < stackLen; i++) {
SymFromAddr(process, (DWORD64) stack[i], 0, symbol);
s += string::f("%d: %s 0x%0x", stackLen - i - 1, symbol->Name, symbol->Address);
s += string::f("%d: %s 0x%0x\n", stackLen - i - 1, symbol->Name, symbol->Address);
}
free(symbol);
#endif


Loading…
Cancel
Save