Skip to content

[CrashHandler] Allow for easier debugging #116

@Lilyy2565

Description

@Lilyy2565

What's the Problem?

No response

Solution/Idea

At this time, CrashHandler only allows for 1 line on an unhandled exception message and does not display any information about inner exceptions, which can make issues caught by it much more difficult to troubleshoot.
Also, if DEBUG is set in Program.cs then Download Manager should bypass the unhandled exception and throw it on the main thread to allow the debugger to pick up the exception to allow for much easier debugging.

  • Allow Download Manager to bypass CrashHandler when a debugger is attached
  • Add multi-line support and word wrapping on exception messages
  • Add support for inner-exceptions

Alternatives

None

Download Manager Version

No response

Windows Version

No response

Comments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImprovements to an already existing featurefeatureNew feature or requestpriority: highIssue or pull request is on high priority

    Type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions