dotnet / dotnet/runtime

[mobile] Android and iOS stack traces do not include file names and line numbers on CoreCLR

Open
#124,087 5 comments 0 reactions 1 assignee Claimed by @BrzVlad View on GitHub
area-Diagnostics-coreclr os-android os-ios
Dominant language
C#
Stars
18.3k
Forks
5.6k
PR merge metrics
PR metrics pending

Description

## Description

On Android and iOS, stack traces do not include file names and line numbers on CoreCLR. This is a tracking issue to improve stack traces verbosity.

Added stack trace pattern matching
```
private static string FileInfoPattern(string fileLinePattern) =>
PlatformDetection.IsAndroid ? "" : fileLinePattern;
```
in `StackTraceTests.ToString_Async`.

Related work https://github.com/dotnet/runtime/pull/123824

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.