Skip to content

Commands executed in debugger output to a tty

When I run Catch2 in a debugger I get the following output (there are hidden characters before each [):

[1;31m[0m[1;33m[0m[1;32m===============================================================================[0m
[1;32mAll tests passed[0m (189 assertions in 5 test cases)

I'm not sure the best solution to this, but the problem lies in GDB not forwarding the fact that it's not outputting to a tty.

Edited by Matthew D. Scholefield
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information