mu_basecore icon indicating copy to clipboard operation
mu_basecore copied to clipboard

[Feature]: Support Printing Stack Dump From Assert

Open os-d opened this issue 2 years ago • 0 comments

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

os-d avatar Sep 11 '23 19:09 os-d