Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
os-d opened this issue Sep 11, 2023 · 0 comments
Open

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

os-d opened this issue Sep 11, 2023 · 0 comments
Assignees
Labels
state:backlog In the backlog state:needs-triage Needs to triaged to determine next steps type:feature-request A new feature proposal urgency:medium Important with a moderate impact

Comments

@os-d
Copy link
Contributor

os-d commented Sep 11, 2023

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 os-d added state:backlog In the backlog state:needs-triage Needs to triaged to determine next steps type:feature-request A new feature proposal labels Sep 11, 2023
@os-d os-d self-assigned this Sep 11, 2023
@github-actions github-actions bot added the urgency:medium Important with a moderate impact label Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state:backlog In the backlog state:needs-triage Needs to triaged to determine next steps type:feature-request A new feature proposal urgency:medium Important with a moderate impact
Projects
None yet
Development

No branches or pull requests

1 participant