Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/SOS/SOS.UnitTests/Scripts/GCTests.script
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,10 @@ IFDEF:CDB
VERIFY:Break instruction exception - code 80000003
ENDIF:CDB

# DumpStackObjects does not work here on 6.0 MacOS
# https://github.com/dotnet/diagnostics/issues/1950
!IFDEF:OSX

SOSCOMMAND:EEHeap -gc
SOSCOMMAND:DumpStackObjects
SOSCOMMAND:GCWhere <POUT>\w+\s+(<HEXVAL>)\s+([Gg][Cc]where!\$0_)*GCWhere\s+<POUT>
Expand All @@ -183,5 +187,7 @@ SOSCOMMAND:GCRoot <PREVPOUT>
VERIFY:.*Thread <HEXVAL>:
VERIFY:\s+<HEXVAL>\s+<HEXVAL>\s+GCWhere\.Main\(\)\s+\[.*[/|\\][Gg][Cc][Ww]here\.cs\s+@\s+49\]\s+

ENDIF:OSX

# Continue to the next DebugBreak
CONTINUE