Skip to content

Make code.py line number available after safemode #8704

@anecdata

Description

@anecdata

It would be very helpful to know which line number was executing when a safemode occurred, perhaps with a supervisor attribute.

It's a reasonably-involved process (not beginner-friendly) to make a debug build, collect a backtrace, and decode it. And sometimes the backtrace is corrupted, or otherwise incorrect due to different build parameters with DEBUG=1, or perhaps other reasons.

Related to #1054

Brief Discord discussion here

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions