Skip to content

Cause a debug break when a panic occurs on Windows. #34502

Open
@retep998

Description

@retep998

In order to aid debugging it would be really useful if Rust would trigger a debug break whenever a panic occurs on Windows. Ideally using the __debugbreak intrinsic which is equivalent to int 3 on x86 platforms.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-acceptedCategory: A feature request that has been accepted pending implementation.O-windowsOperating system: WindowsT-libsRelevant to the library team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions