Skip to content

sos messages should not assume windbg context #2978

Closed

Description

@danmoseley

If I'm running in the context of dotnet dump analyze, the messages will lead me off track. For example:

> clrstack
OS Thread Id: 0x810 (1)
Unable to walk the managed stack. The current thread is likely not a
managed thread. You can run !threads to get a list of managed threads in
the process
Failed to start stack walk: 80070057
> !threads
Required command was not provided.
Unrecognized command or argument '!threads'

> threads
 0 0x07A0 (1952)
*1 0x0810 (2064)
 2 0x087C (2172)
 3 0x0BD4 (3028)
 4 0x0AB8 (2744)
 5 0x0B60 (2912)
 6 0x0AF4 (2804)
 7 0x0408 (1032)
>

Activity

  1. self-assigned this
    on Apr 5, 2022
  2. added this to the .NET 7.0 milestone on Apr 5, 2022
  3. danmoseley commented on Jul 1, 2022

    @danmoseley
    Author

    Alternative option: accept both forms. Then docs (blogs, etc) don't need a change plus my muscle memory is happy.

  4. added a commit that references this issue on Sep 21, 2022
  5. ghost locked as resolved and limited conversation to collaborators on Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions