Skip to content

Fix empty stack traces in release mode when using Microsoft Testing Platform#6196

Closed
Evangelink with Copilot wants to merge 4 commits into
mainfrom
copilot/fix-5109
Closed

Fix empty stack traces in release mode when using Microsoft Testing Platform#6196
Evangelink with Copilot wants to merge 4 commits into
mainfrom
copilot/fix-5109

Complete fix for stack trace issue - remove critical DEBUG conditionals

c3d0a79
Select commit
Loading
Failed to load commit list.
Azure Pipelines / microsoft.testfx (Build Windows Release) failed Jul 28, 2025 in 41m 28s

Build Windows Release failed

Annotations

Check failure on line 42 in test/IntegrationTests/MSTest.IntegrationTests/OutputTests.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Windows Release)

test/IntegrationTests/MSTest.IntegrationTests/OutputTests.cs#L42

test/IntegrationTests/MSTest.IntegrationTests/OutputTests.cs(42,1): error : Expected boolean to be True because Tests must run in parallel, but there were no other tests that started, before the first one ended., but found False.

Check failure on line 150 in test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Execution/TestAssemblyInfoTests.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Windows Release)

test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Execution/TestAssemblyInfoTests.cs#L150

test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Execution/TestAssemblyInfoTests.cs(150,1): error : Object reference not set to an instance of an object.

Check failure on line 165 in test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Execution/TestAssemblyInfoTests.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Windows Release)

test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Execution/TestAssemblyInfoTests.cs#L165

test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Execution/TestAssemblyInfoTests.cs(165,1): error : Object reference not set to an instance of an object.

Check failure on line 359 in test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Execution/TestClassInfoTests.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Windows Release)

test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Execution/TestClassInfoTests.cs#L359

test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Execution/TestClassInfoTests.cs(359,1): error : Object reference not set to an instance of an object.

Check failure on line 165 in test/Utilities/TestFramework.ForTestingMSTest/TestContainer.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Windows Release)

test/Utilities/TestFramework.ForTestingMSTest/TestContainer.cs#L165

test/Utilities/TestFramework.ForTestingMSTest/TestContainer.cs(165,1): error : Verification failed for exception.StackTraceInformation!.ErrorStackTrace.StartsWith(
            "   at Microsoft.VisualStudio.TestPlatform.MSTestAdapter.UnitTests.Execution.TestMethodInfoTests.<>c.<TestMethodInfoInvokeWhenTestThrowsAssertFailReturnsExpectedResult>b__", StringComparison.Ordinal) at line 647 of method 'TestMethodInfoInvokeWhenTestThrowsAssertFailReturnsExpectedResult' in file '/_/test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Execution/TestMethodInfoTests.cs'.