jak-project/goalc/debugger
Tyler Wilding 87ff182332
dbgr: allow dumping the backtrace to a file (#2284)
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](https://user-images.githubusercontent.com/13153231/221460358-991916ad-90f0-445d-ba81-7bc3dbc42eb4.png)

Usage:
```clj
(:di "./stacktrace.log")
```
2023-02-27 18:54:23 -05:00
..
Debugger.cpp dbgr: allow dumping the backtrace to a file (#2284) 2023-02-27 18:54:23 -05:00
Debugger.h dbgr: allow dumping the backtrace to a file (#2284) 2023-02-27 18:54:23 -05:00
DebugInfo.cpp [goalc] reduce compiler memory usage (#2247) 2023-02-24 18:32:30 -05:00
DebugInfo.h [goalc] reduce compiler memory usage (#2247) 2023-02-24 18:32:30 -05:00
disassemble.cpp [goalc] reduce compiler memory usage (#2247) 2023-02-24 18:32:30 -05:00
disassemble.h [goalc] reduce compiler memory usage (#2247) 2023-02-24 18:32:30 -05:00