Skip to content

[Feature]: Support Printing Stack Dump From Assert #560

Open
@os-d

Description

@os-d

Feature Overview

Today, there is no option to support dumping the stack when an assert is triggered. However, this is extremely useful, particularly when an assert is hit in core code (for example on a pool free) so that the faulty component can be identified without needing to attempt a repro, improving the debugability.

Solution Overview

An additional bit can be added to PcdDebugPropertyMask to instruct the core code to dump the stack and related information (similar as occurs on an exception).

This depends on issue #559 to split assert functionality out of DebugLib. It could go in before, but makes sense to define that interface first.

Alternatives Considered

No response

Urgency

Medium

Are you going to implement the feature request?

I will implement the feature

Do you need maintainer feedback?

No maintainer feedback needed

Anything else?

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions