Skip to content

dumpasync should be able to filter stacks based on the bottom most frame #533

Closed

Description

@davidfowl

Today I can do dumpasync -stacks -type MyApplication but I'm trying to see the entire async stack for a request. That means in the below example, I'd like to see all async stacks rooted by KestrelConnection.

--------------------------------------------------------------------------------
0000014684b66068 00007ff8318b5f90       96          0 WebApplication352.Startup+<>c+<<Configure>b__1_1>d
Async "stack":
.0000014684b660c8 (0) Microsoft.AspNetCore.Routing.EndpointMiddleware+<<Invoke>g__AwaitRequestTask|6_0>d
..0000014684b66150 (0) Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware+<Invoke>d__9
...0000014684b661e0 (1) Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol+<ProcessRequests>d__217`1[[System.__Canon, System.Private.CoreLib]]  ....0000014684b662a0 (0) Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol+<ProcessRequestsAsync>d__216`1[[System.__Canon, System.Private.CoreLib]]
.....0000014684b66328 (0) Microsoft.AspNetCore.Server.Kestrel.Core.Internal.HttpConnection+<ProcessRequestsAsync>d__12`1[[System.__Canon, System.Private.CoreLib]]
......0000014684b663d0 (0) Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.KestrelConnection+<ExecuteAsync>d__32
--------------------------------------------------------------------------------
0000014684b6dd78 00007ff8318b5f90       96          0 WebApplication352.Startup+<>c+<<Configure>b__1_1>d
Async "stack":
.0000014684b6ddd8 (0) Microsoft.AspNetCore.Routing.EndpointMiddleware+<<Invoke>g__AwaitRequestTask|6_0>d
..0000014684b6de60 (0) Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware+<Invoke>d__9
...0000014684b6def0 (1) Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol+<ProcessRequests>d__217`1[[System.__Canon, System.Private.CoreLib]]  ....0000014684b77fe8 (0) Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol+<ProcessRequestsAsync>d__216`1[[System.__Canon, System.Private.CoreLib]]
.....0000014684b78070 (0) Microsoft.AspNetCore.Server.Kestrel.Core.Internal.HttpConnection+<ProcessRequestsAsync>d__12`1[[System.__Canon, System.Private.CoreLib]]
......0000014684b78118 (0) Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.KestrelConnection+<ExecuteAsync>d__32
--------------------------------------------------------------------------------

Activity

  1. added
    enhancement
    on Oct 7, 2019
  2. added this to the 3.1 milestone on Oct 7, 2019
  3. removed their assignment
    on Oct 7, 2019
  4. modified the milestones: 3.1, 5.0 on Oct 8, 2019
  5. modified the milestones: 5.0, 6.0 on Dec 18, 2020
  6. modified the milestones: 6.0.0, 7.0.0 on Jun 21, 2021
  7. stephentoub commented on Mar 28, 2022

    @stephentoub
    Member

    I have a fix for this one as well.

  8. ghost closed this as completedin #2964on Apr 14, 2022
  9. ghost locked as resolved and limited conversation to collaborators on Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

dotnet-dumpenhancement

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions