Skip to content
This repository has been archived by the owner on Feb 20, 2021. It is now read-only.

Debugger does not work #503

Open
vtortola opened this issue Sep 7, 2016 · 0 comments
Open

Debugger does not work #503

vtortola opened this issue Sep 7, 2016 · 0 comments

Comments

@vtortola
Copy link

vtortola commented Sep 7, 2016

When I try to debug a LUA script, redis-cli gets stuck.

c:\>cd "\Program Files\Redis"

c:\Program Files\Redis>echo return ARGV[1] + ARGV[2] > test.lua

c:\Program Files\Redis>redis-cli --ldb --eval test.lua , 2 3
Lua debugging session started, please use:
quit    -- End the session.
restart -- Restart the script in debug mode again.
help    -- Show Lua script debugging commands.

From that point the application does not accept input.

However I can use redis-cli.exe to debug a script connecting to an instance or Redis in Linux without problems. So the problem seems to be in redis-server.exe.

I am using the latest version found in the releases in this repository.

C:\Program Files\Redis>redis-cli info
# Server
redis_version:3.2.100
redis_git_sha1:00000000
redis_git_dirty:0
redis_build_id:dd26f1f93c5130ee
redis_mode:standalone
os:Windows
arch_bits:64
multiplexing_api:WinSock_IOCP
process_id:25124
run_id:2a1fd12ffca044ba7299b437b216291202801806
tcp_port:6379
uptime_in_seconds:658
uptime_in_days:0
hz:10
lru_clock:13633912
executable:C:\Program Files\Redis\"C:\Program Files\Redis\redis-server.exe"
config_file:C:\Program Files\Redis\redis.windows-service.conf
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant