Lua debugger: better support for synchronous mode.

This commit is contained in:
antirez
2015-11-13 10:17:34 +01:00
parent cdb9241200
commit 75788d6af1
2 changed files with 22 additions and 3 deletions

View File

@ -1581,6 +1581,9 @@ int ldbStartSession(client *c) {
freeClientAsync(c); /* Close the client in the parent side. */
return 0;
}
} else {
serverLog(LL_WARNING,
"Redis synchronous debugging eval session started");
}
/* Setup our debugging session. */
@ -1615,6 +1618,9 @@ void ldbEndSession(client *c) {
writeToClient(c->fd, c, 0);
serverLog(LL_WARNING,"Lua debugging session child exiting");
exitFromChild(0);
} else {
serverLog(LL_WARNING,
"Redis synchronous debugging eval session ended");
}
/* Otherwise let's restore client's state. */