redis.breakpoint() * * Allows to stop execution during a debugging session from within * the Lua code implementation, like if a breakpoint was set in the code * immediately after the function. */
| 945 | * the Lua code implementation, like if a breakpoint was set in the code |
| 946 | * immediately after the function. */ |
| 947 | int luaRedisBreakpointCommand(lua_State *lua) { |
| 948 | if (ldb.active) { |
| 949 | ldb.luabp = 1; |
| 950 | lua_pushboolean(lua,1); |
| 951 | } else { |
| 952 | lua_pushboolean(lua,0); |
| 953 | } |
| 954 | return 1; |
| 955 | } |
| 956 | |
| 957 | /* redis.debug() |
| 958 | * |
nothing calls this directly
no test coverage detected