-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Color is disabled in debug mode #590
Comments
I would think that it would cause insanely weird coloring if a breakpoint were activated before the ANSI color reset code is printed. |
But logs are not printed while stepping through a test case right? And isn't your issue specific to Linux? |
That's a very good question. I think it's to do with the messages being sent to a debug output console (e.g. in XCode). Depending on your environment and how it is set-up this may or may not happen - so it would be nice to have finer grained control. There is a |
I think you are on the right track to step back and rethink and redesign this small feature. I can see how having colors enabled could not work well in certain consoles. So toggling this via command line parameter is reasonable. Thanks for your feedback. On Tue, Feb 23, 2016, 1:55 AM Phil Nash [email protected] wrote:
|
Can |
@nabijaczleweli not easily. The platform specific parts of the code make platform specific calls (e.g. |
With |
...only if the platform is Windows. |
ok. I have |
I should have mentioned before that |
The documentation added is based on output from `-?` (help), and comments to #590.
I noticed that while running a debug build, colors are disabled. This is noticable in the single-header catch.hpp:
Why are colors disabled if the debugger is active? I was wondering why I was getting no color output; I thought initially it was bugged. The reason for this is not documented anywhere. As such, I am not able to directly understand the reasoning for this.
The text was updated successfully, but these errors were encountered: