GitShow/sharkdp/stack-inspector
sharkdp

stack-inspector

A gdb command to inspect the size of objects on the stack

by sharkdp
backtracedebugginggdbgdb-commandsstack-overflow
Star on GitHubFork

Python

72 stars5 forks4 contributorsQuiet · 3y agoSince 2019

Meet the team

See all 4 on GitHub →
sharkdp
sharkdp19 contributions
braydonk
braydonk1 contribution
cvoica
cvoica1 contribution

Languages

View on GitHub →
Python100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

1 of 6 standards met

Community profile →
28
✓README○License○Contributing○Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
braydonk
Inline frames are double-counted in `total_size`ClosedIssue

Hello! Thank you for this script, it's saved me a lot of time! I noticed that if a frame is inlined, then inline frame will both print the same stack over again and double-count it in at the end of the script. For example, this frame 6 is inlined into frame 7: !image It is printing the same symbols as frame 7, as well as returning the same from : !image It would be great both to not print the same stack over again since it's a bit misleading, as well as to not count inline frames toward the to result in a more accurate total number.

braydonk · 3y ago
braydonk
check for inline frame before analysing symbolsMergedPR

Fixes #2

braydonk · 3y ago
cvoica
Fix the super() takes at least 1 argument (0 given)MergedPR

I got the below error. This is one possible fix (I'm not a Python expert, just did what https://docs.quantifiedcode.com/python-anti-patterns/correctness/missing_argument_to_super.html says)

cvoica · 6y ago
Structured data for AI agents

Repository: sharkdp/stack-inspector. Description: A gdb command to inspect the size of objects on the stack Stars: 72, Forks: 5. Primary language: Python. Languages: Python (100%). Topics: backtrace, debugging, gdb, gdb-commands, stack-overflow. Open PRs: 0, open issues: 0. Last activity: 3y ago. Community health: 28%. Top contributors: sharkdp, braydonk, cvoica.

·@ofershap

Replace github.com with gitshow.dev