Skip to content

How to get all local variables at given frame ? #78

Answered by jeremy-rifkin
mirekh68 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @mirekh68, in theory this is possible. It might be a little outside the scope of a stacktrace library though. Dwarf and pdb debug symbols should have information on local variables. I'm not sure how useful local variables would be unless their values were also displayed, which is also in theory possible to get based on debug symbols but I expect implementing that would be quite complicated.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mirekh68
Comment options

@jeremy-rifkin
Comment options

Answer selected by jeremy-rifkin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants