Lines Matching refs:ldbLog
53 void ldbLog(sds entry);
214 ldbLog(sdscatprintf(sdsempty(),"<error> %s",error)); in luaPushError()
464 ldbLog(cmdlog); in luaRedisGenericCommand()
763 ldbLog(log); in luaRedisDebugCommand()
1602 void ldbLog(sds entry) { in ldbLog() function
1617 ldbLog(entry); in ldbLogWithMaxLen()
1620 ldbLog(sdsnew( in ldbLogWithMaxLen()
1716 ldbLog(sdsnew("<endsession>")); in ldbEndSession()
1896 ldbLog(thisline); in ldbLogSourceLine()
2129 ldbLog(sdsnew("No such variable.")); in ldbPrint()
2155 ldbLog(sdsnew("No local variables in the current context.")); in ldbPrintAll()
2163 ldbLog(sdsnew("No breakpoints set. Use 'b <line>' to add one.")); in ldbBreak()
2166 ldbLog(sdscatfmt(sdsempty(),"%i breakpoints set:",ldb.bpcount)); in ldbBreak()
2177 ldbLog(sdscatfmt(sdsempty(),"Invalid argument:'%s'",arg)); in ldbBreak()
2181 ldbLog(sdsnew("All breakpoints removed.")); in ldbBreak()
2184 ldbLog(sdsnew("Too many breakpoints set.")); in ldbBreak()
2188 ldbLog(sdsnew("Wrong line number.")); in ldbBreak()
2192 ldbLog(sdsnew("Breakpoint removed.")); in ldbBreak()
2194 ldbLog(sdsnew("No breakpoint in the specified line.")); in ldbBreak()
2214 ldbLog(sdscatfmt(sdsempty(),"<error> %s",lua_tostring(lua,-1))); in ldbEval()
2225 ldbLog(sdscatfmt(sdsempty(),"<error> %s",lua_tostring(lua,-1))); in ldbEval()
2262 ldbLog(sdscatprintf(sdsempty(),"%s %s:", in ldbTrace()
2270 ldbLog(sdsnew("<error> Can't retrieve Lua stack.")); in ldbTrace()
2284 … ldbLog(sdscatprintf(sdsempty(),"<value> replies are truncated at %d bytes.",(int)ldb.maxlen)); in ldbMaxlen()
2286 ldbLog(sdscatprintf(sdsempty(),"<value> replies are unlimited.")); in ldbMaxlen()
2319 ldbLog(sdsnew("Redis Lua debugger help:")); in ldbRepl()
2320 ldbLog(sdsnew("[h]elp Show this help.")); in ldbRepl()
2321 ldbLog(sdsnew("[s]tep Run current line and stop again.")); in ldbRepl()
2322 ldbLog(sdsnew("[n]ext Alias for step.")); in ldbRepl()
2323 ldbLog(sdsnew("[c]continue Run till next breakpoint.")); in ldbRepl()
2324 ldbLog(sdsnew("[l]list List source code around current line.")); in ldbRepl()
2325 ldbLog(sdsnew("[l]list [line] List source code around [line].")); in ldbRepl()
2326 ldbLog(sdsnew(" line = 0 means: current position.")); in ldbRepl()
2327 ldbLog(sdsnew("[l]list [line] [ctx] In this form [ctx] specifies how many lines")); in ldbRepl()
2328 ldbLog(sdsnew(" to show before/after [line].")); in ldbRepl()
2329 ldbLog(sdsnew("[w]hole List all source code. Alias for 'list 1 1000000'.")); in ldbRepl()
2330 ldbLog(sdsnew("[p]rint Show all the local variables.")); in ldbRepl()
2331 ldbLog(sdsnew("[p]rint <var> Show the value of the specified variable.")); in ldbRepl()
2332 ldbLog(sdsnew(" Can also show global vars KEYS and ARGV.")); in ldbRepl()
2333 ldbLog(sdsnew("[b]reak Show all breakpoints.")); in ldbRepl()
2334 ldbLog(sdsnew("[b]reak <line> Add a breakpoint to the specified line.")); in ldbRepl()
2335 ldbLog(sdsnew("[b]reak -<line> Remove breakpoint from the specified line.")); in ldbRepl()
2336 ldbLog(sdsnew("[b]reak 0 Remove all breakpoints.")); in ldbRepl()
2337 ldbLog(sdsnew("[t]race Show a backtrace.")); in ldbRepl()
2338 ldbLog(sdsnew("[e]eval <code> Execute some Lua code (in a different callframe).")); in ldbRepl()
2339 ldbLog(sdsnew("[r]edis <cmd> Execute a Redis command.")); in ldbRepl()
2340 ldbLog(sdsnew("[m]axlen [len] Trim logged Redis replies and Lua var dumps to len.")); in ldbRepl()
2341 ldbLog(sdsnew(" Specifying zero as <len> means unlimited.")); in ldbRepl()
2342 ldbLog(sdsnew("[a]bort Stop the execution of the script. In sync")); in ldbRepl()
2343 ldbLog(sdsnew(" mode dataset changes will be retained.")); in ldbRepl()
2344 ldbLog(sdsnew("")); in ldbRepl()
2345 ldbLog(sdsnew("Debugger functions you can call from Lua scripts:")); in ldbRepl()
2346 ldbLog(sdsnew("redis.debug() Produce logs in the debugger console.")); in ldbRepl()
2347 ldbLog(sdsnew("redis.breakpoint() Stop execution like if there was a breakpoing.")); in ldbRepl()
2348 ldbLog(sdsnew(" in the next line of code.")); in ldbRepl()
2394 ldbLog(sdsnew("<error> Unknown Redis Lua debugger command or " in ldbRepl()
2441 ldbLog(sdscatprintf(sdsempty(), in luaLdbLineHook()