Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[wasm][tests] Enable line numbers in stack traces
Library tests don't show line numbers, essentially because the .pdb files never become available to the WasmAppBuilder . This is enabled by default for `Debug` builds only. To use it with `Release` builds, add `/p:DebuggerSupport=true` to the command line. With the patch: ``` fail: [FAIL] System.Reflection.Tests.MemberInfoTests.HasSameMetadataDefinitionAs__CornerCase_HasElementTypes info: Assert.All() Failure: 10 out of 10 items in the collection did not pass. info: [9]: Item: System.Double* info: Xunit.Sdk.AllException: Assert.All() Failure: 2 out of 10 items in the collection did not pass. info: [7]: Item: System.Double& info: Xunit.Sdk.TrueException: Assert.True() Failure info: Expected: True info: Actual: False info: at Xunit.Assert.True(Nullable`1 condition, String userMessage) in C:\Dev\xunit\xunit\src\xunit.assert\Asserts\BooleanAsserts.cs:line 95 info: at Xunit.Assert.True(Boolean condition) in C:\Dev\xunit\xunit\src\xunit.assert\Asserts\BooleanAsserts.cs:line 62 info: at System.Reflection.Tests.MemberInfoTests.<>c__DisplayClass31_1.<HasSameMetadataDefinitionAs__CornerCase_HasElementTypes>b__1(Type t2) in /Users/radical/dev/runtime/src/libraries/System.Reflection/tests/MemberInfoTests.cs:line 491 info: at Xunit.Assert.All[Type](IEnumerable`1 collection, Action`1 action) in C:\Dev\xunit\xunit\src\xunit.assert\Asserts\CollectionAsserts.cs:line 36 ```
- Loading branch information