mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 11:26:18 -04:00
87ff182332
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") ``` |
||
---|---|---|
.. | ||
framework | ||
source_generated | ||
source_templates | ||
CMakeLists.txt | ||
README.md | ||
test_arithmetic.cpp | ||
test_collections.cpp | ||
test_compiler.cpp | ||
test_control_statements.cpp | ||
test_debugger.cpp | ||
test_game_no_debug.cpp | ||
test_goal_kernel.cpp | ||
test_goal_kernel2.cpp | ||
test_jak2_compiler.cpp | ||
test_type_consistency.cpp | ||
test_variables.cpp | ||
test_vector_float.cpp | ||
test_with_game.cpp |
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?