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

Create --native-last arg #182

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

Kretzer6019
Copy link

@Kretzer6019 Kretzer6019 commented May 21, 2024

Issue number of the reported bug or feature request: #142

Describe your changes
Created a new arg called --native-last, which shows only C frames after the last printed python frame. This helps to reduce verbose when trying to puzzle out deadlocks and blocking happening in the C code, where last frames might be enouth.

Testing performed
Added test_traceback_formatter_only_last_native_frames to ensure that the new mode will show only the last C frames after the last python printed frame.

Additional context
Add any other context about your contribution here.

@Kretzer6019 Kretzer6019 changed the title Create native last mode Create --native-last arg May 21, 2024
@Kretzer6019 Kretzer6019 marked this pull request as ready for review May 21, 2024 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant