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

dbgr: allow dumping the backtrace to a file #2284

Merged
merged 1 commit into from
Feb 27, 2023

Conversation

xTVaser
Copy link
Member

@xTVaser xTVaser commented Feb 27, 2023

Some backtraces are quite large, an option is to increase your terminal buffer -- but dumping to a file is also useful if you want to share the crash.

I'm not crazy about the way I hacked this in, but it felt like the least invasive way for now and I don't want to cause a regression with the debugger. It's also nice that it dumps with ansi colors as then you can view the backtrace with the original coloring:

image

Usage:

(:di "./stacktrace.log")

@water111 water111 merged commit 87ff182 into open-goal:master Feb 27, 2023
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

2 participants