jak-project/test/goalc
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
..
framework Cleanup goalc tests, fix jak2 kernel bugs (#1669) 2022-07-17 14:12:11 -04:00
source_generated Final polish on the integer tests, time to start converting the rest 2020-10-03 18:32:01 -04:00
source_templates [decomp] ctywide-obs (#2250) 2023-02-25 14:00:16 -05:00
CMakeLists.txt Cleanup goalc tests, fix jak2 kernel bugs (#1669) 2022-07-17 14:12:11 -04:00
README.md Create new categorized test classes, for the most part just a copy of current tests into new framework 2020-10-08 00:06:48 -04:00
test_arithmetic.cpp Cleanup goalc tests, fix jak2 kernel bugs (#1669) 2022-07-17 14:12:11 -04:00
test_collections.cpp Cleanup goalc tests, fix jak2 kernel bugs (#1669) 2022-07-17 14:12:11 -04:00
test_compiler.cpp Cleanup goalc tests, fix jak2 kernel bugs (#1669) 2022-07-17 14:12:11 -04:00
test_control_statements.cpp Cleanup goalc tests, fix jak2 kernel bugs (#1669) 2022-07-17 14:12:11 -04:00
test_debugger.cpp dbgr: allow dumping the backtrace to a file (#2284) 2023-02-27 18:54:23 -05:00
test_game_no_debug.cpp [jak2] goalc supports multiple projects (#1619) 2022-07-06 21:18:08 -04:00
test_goal_kernel.cpp Cleanup goalc tests, fix jak2 kernel bugs (#1669) 2022-07-17 14:12:11 -04:00
test_goal_kernel2.cpp Cleanup goalc tests, fix jak2 kernel bugs (#1669) 2022-07-17 14:12:11 -04:00
test_jak2_compiler.cpp [goalc] Fix error when putting #f in an array of symbols (#1804) 2022-08-26 15:54:29 -04:00
test_type_consistency.cpp d/jak2: finish mood-funcs | mood-funcs2 | almost all of mood and airlock (#1842) 2022-09-06 20:35:00 -04:00
test_variables.cpp Cleanup goalc tests, fix jak2 kernel bugs (#1669) 2022-07-17 14:12:11 -04:00
test_vector_float.cpp Cleanup goalc tests, fix jak2 kernel bugs (#1669) 2022-07-17 14:12:11 -04:00
test_with_game.cpp [decomp] ctywide-obs (#2250) 2023-02-25 14:00:16 -05:00

Some Documentation

TODO!

TODO

  • If it can't make the file successfully, currently the tests just hang
  • How do i share the same fixture (compiler/thread instance), but with different Params. I don't think this is possible...maybe with templates?