Skip to content

Commit 95a88fc

Browse files
authored
debugging-sos-lldb-via-core: work around lldb deadlock. (#410)
1 parent fdbdbc1 commit 95a88fc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

debugging-sos-lldb-via-core/test.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ dotnet tool install -g dotnet-dump
4242

4343
dotnet sos install
4444

45+
# work around lldb deadlock in v21.1.8 (https://github.com/redhat-developer/dotnet-regular-tests/issues/392#issuecomment-4068491555).
46+
if lldb --version | grep -q "21.1.8"; then
47+
LINE='settings set target.parallel-module-load false'
48+
grep -qF "$LINE" ~/.lldbinit || echo "$LINE" >> ~/.lldbinit
49+
fi
50+
4551
framework_dir=$(../dotnet-directory --framework "${sdk_version}")
4652
test -f "${framework_dir}/createdump"
4753

0 commit comments

Comments
 (0)