Skip to content

Feature implementation: Option to truncate suppressed(aka "boring") frames in printed stack.#75

Open
tepedersen wants to merge 1 commit intocknd:masterfrom
tepedersen:truncate_boring
Open

Feature implementation: Option to truncate suppressed(aka "boring") frames in printed stack.#75
tepedersen wants to merge 1 commit intocknd:masterfrom
tepedersen:truncate_boring

Conversation

@tepedersen
Copy link

Implemented an option truncate_suppressed_frames for format_stack() which truncates any sequence of stack frames matching suppressed_paths into a minimal formatted entry for the first and last frame in the contiguous sequence of "boring"/suppressed frames, with a count of how many frames were suppressed inbetween. Created tests/source_boring.py and source_interesting.py to enable both a demo and tests of the new functionality.

…hich truncates any sequence of stack frames matching suppressed_paths into a minimal formatted entry for the first and last frame in the contiguous sequence of "boring"/suppressed frames, with a count of how many frames were suppressed inbetween. Created tests/source_boring.py and source_interesting.py to enable both a demo and tests of the new functionality.
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.

1 participant