Fixes crash handler. (#1446)
We need to include the PDB with the distributable.
This commit is contained in:
parent
3223331e76
commit
674bc4cc3e
|
@ -57,14 +57,17 @@ pipeline {
|
|||
"${env.CMAKE}" --build . --config Release
|
||||
|
||||
cd "..\\..\\"
|
||||
|
||||
mkdir debug
|
||||
|
||||
move "soh\\x64\\Release\\soh.exe" ".\\"
|
||||
move "soh\\x64\\Release\\soh.pdb" ".\\debug\\"
|
||||
move "OTRGui\\build\\assets" ".\\"
|
||||
move ".\\OTRExporter\\x64\\Release\\ZAPD.exe" ".\\assets\\extractor\\"
|
||||
move ".\\OTRGui\\build\\Release\\OTRGui.exe" ".\\"
|
||||
rename README.md readme.txt
|
||||
|
||||
"${env.ZIP}" a soh.7z soh.exe OTRGui.exe assets readme.txt
|
||||
"${env.ZIP}" a soh.7z soh.exe OTRGui.exe assets debug readme.txt
|
||||
|
||||
"""
|
||||
archiveArtifacts artifacts: 'soh.7z', followSymlinks: false, onlyIfSuccessful: true
|
||||
|
|
|
@ -288,8 +288,9 @@ static void printStack(CONTEXT* ctx) {
|
|||
|
||||
process = GetCurrentProcess();
|
||||
thread = GetCurrentThread();
|
||||
SymInitialize(process, nullptr, true);
|
||||
|
||||
SymSetOptions(SYMOPT_NO_IMAGE_SEARCH | SYMOPT_IGNORE_IMAGEDIR);
|
||||
SymInitialize(process, "debug", true);
|
||||
|
||||
constexpr DWORD machineType =
|
||||
#if defined(_M_AMD64)
|
||||
|
|
Loading…
Reference in New Issue