Skip to content
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

Visual Studio "Peek" hitch and client syntax highlighting request #362

Open
codenotes opened this issue Oct 5, 2019 · 1 comment
Open

Comments

@codenotes
Copy link

DebugView++ is essential. Just one thing to think about (I can help develop if guided)

It would be tremendous if the client when calling OutputDebugString() could also send a coloring hint such that the client could define what the highlighting will be. There are times when the client absolutely knows something is important and should be, say, red, whereas it can be a lot of work to set up all the coloring in DBV (and one might not even know to highlight something important in a log-chatty application.) Recommend using ANSI Escape code...these could be sent in a string from the client.exe, and DBV++ could "honor" them by implementing/coloring. Ie:

OutputDebugStringA ("\033[31m" "This is a red line" "\033[0m" );

Note that the above, if put in printf would in VT Terminal mode enabled (windows 10+) console result in a red line. These are VT 100 codes which are now supported in windows.

When you debug in *nix, coloring is frequently used with these escape characters, and most logging is console based. It is really powerful when the client can, itself, determine how it wants its logging represented.

@janwilmans
Copy link
Member

I would like to implement this in debug.vision, an upcoming development that makes debugview++ functionality available for multiple platforms. Would you be interested to help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants