Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

附加进程成功不进断点 #35

Closed
dong50252409 opened this issue Aug 9, 2017 · 0 comments
Closed

附加进程成功不进断点 #35

dong50252409 opened this issue Aug 9, 2017 · 0 comments

Comments

@dong50252409
Copy link

dong50252409 commented Aug 9, 2017

平台:windows10企业版
lua版本:5.3自编译
socket模块通过luarocks安装

local socket = require("socket")

function Sleep(n)
    socket.select(nil, nil, n)
end

while(true) do
    Sleep(1)
    print("alive:", os.time())
end

附加进程后 控制台提示

Try attach to pid:19140 with x64 debugger.
Found all necessary Lua functions [M:lua.exe, V:530]
Debugger attached to process.
Found all necessary Lua functions [M:lua53.dll, V:530]
Found all necessary Lua functions [M:core.dll, V:530]
Attach finish.
[✔] File was loaded : lua_test.lua

但是在第八号 第九行设置断点不会进入 在第四行设置断点才会进入之后能正常进入到第八行 第九行的断点

@tangzx tangzx closed this as completed in d2beeb9 Aug 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant