mirror of
https://github.com/fluencelabs/redis
synced 2025-06-14 09:41:21 +00:00
Lua debugger: much better Lua values pretty printer.
This commit is contained in:
@ -525,7 +525,7 @@ sds sdsCatColorizedLdbReply(sds o, char *s, size_t len) {
|
||||
if (strstr(s,"<redis>")) color = "green";
|
||||
if (strstr(s,"<reply>")) color = "cyan";
|
||||
if (strstr(s,"<error>")) color = "red";
|
||||
if (strstr(s,"<value>")) color = "magenta";
|
||||
if (strstr(s,"<value>") || strstr(s,"<retval>")) color = "magenta";
|
||||
if (len > 4 && isdigit(s[3])) {
|
||||
if (s[1] == '>') color = "yellow"; /* Current line. */
|
||||
else if (s[2] == '#') color = "bold"; /* Break point. */
|
||||
|
Reference in New Issue
Block a user