File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -188,6 +188,17 @@ jobs:
188188 }
189189
190190 Capture-AppWindow "Viewer" "`"$reference`"" "artifacts\screenshots\viewer.png"
191+ $procdumpZip = Join-Path $env:TEMP "Procdump.zip"
192+ $procdumpDir = Join-Path $env:TEMP "Procdump"
193+ Invoke-WebRequest "https://download.sysinternals.com/files/Procdump.zip" -OutFile $procdumpZip
194+ Expand-Archive -Path $procdumpZip -DestinationPath $procdumpDir -Force
195+ $comparerExe = (Resolve-Path (Join-Path $env:DIST_DIR "Comparer.exe")).Path
196+ & (Join-Path $procdumpDir "procdump64.exe") -accepteula -ma -e 1 -n 1 -x $diagnostics `
197+ $comparerExe $reference $encoded
198+ Get-ChildItem $diagnostics | Format-Table Name, Length |
199+ Out-File "artifacts\diagnostics\procdump-files.txt"
200+ throw "Comparer first-chance diagnostic dump captured; inspect diagnostics artifact."
201+
191202 try {
192203 Capture-AppWindow "Comparer" "`"$reference`" `"$encoded`"" "artifacts\screenshots\comparer.png"
193204 }
You can’t perform that action at this time.
0 commit comments