Skip to content

dotnet-dump should show error message for OS errors #2976

Closed

Description

@danmoseley

As a minor issue, it would be an improvement if dotnet-dump would include the message string when there's an error from a system API. This string can be gotten with new Win32Exception(err).Message

C:\Users\dan>dotnet-dump collect -p 832

Writing full to C:\Users\dan\dump_20220404_115922.dmp
Invalid process id 832 error: 5

C:\Users\dan>net helpmsg 5

Access is denied.

Activity

  1. added
    enhancement
    on Apr 4, 2022
  2. self-assigned this
    on Apr 5, 2022
  3. added this to the .NET 7.0 milestone on Apr 5, 2022
  4. added a commit that references this issue on Jun 1, 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

dotnet-dumpenhancement

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions