From 41514bf08c10a4600974f23ac7f854986d114c8b Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Mon, 2 Jan 2023 14:25:49 +0100 Subject: [PATCH] Use CDB Debugger https://ten0s.github.io/blog/2022/07/01/debugging-dll-loading-errors --- .github/workflows/windows.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index e8391d57..28b3b43f 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -60,11 +60,12 @@ jobs: cmake --build build --config Debug --target pip_install if(!$?) { Exit $LASTEXITCODE } - llvm-objdump -p C:/Program Files (x86)/pyAMReX/bin/amrex.dll + llvm-objdump -p "C:\Program Files (x86)\pyAMReX\bin\amrex.dll" - Get-Childitem -Path C:\* -Recurse -Filter *python311.dll, *amrex.dll, *MSVCP140D.dll, KERNEL32.dll, VCRUNTIME140D.dll, VCRUNTIME140_1D.dll, ucrtbased.dll + Get-Childitem -Path C:\* -Recurse -Filter "*python311.dll, *amrex.dll, *MSVCP140D.dll, KERNEL32.dll, VCRUNTIME140D.dll, VCRUNTIME140_1D.dll, ucrtbased.dll" - name: Unit tests run: | set PATH="C:/Program Files (x86)/pyAMReX/bin/;%PATH%" - ctest --test-dir build -C Debug --output-on-failure + (Get-Command ctest).Path + cdb -c "g;q" ctest --test-dir build -C Debug --output-on-failure