crystal icon indicating copy to clipboard operation
crystal copied to clipboard

Basic GDB formatter support

Open HertzDevil opened this issue 3 years ago • 1 comments

This PR adds String and Array formatters for GDB, allowing it to be used as an alternative to LLDB. The formatters can be imported into a GDB session by source etc/gdb/crystal_formatters.py.

The spec driver has been almost completely rewritten to support testing multiple debuggers from a single spec file. Those specs are meant to support the Crystal interpreter eventually.

HertzDevil avatar Jul 05 '22 20:07 HertzDevil

Great work! But can this be leveraged in normal crystal programs or just the compiler? If so, do we have this documented anywhere?

mdwagner avatar Jul 09 '22 14:07 mdwagner