mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 04:33:05 +00:00
debug step mode
This commit is contained in:
@@ -233,6 +233,9 @@ function suspend(co, result, command, param, size)
|
||||
elseif command == "QUIT" then
|
||||
-- service exit
|
||||
return
|
||||
elseif command == nil then
|
||||
-- debug trace
|
||||
return
|
||||
else
|
||||
error("Unknown command : " .. command .. "\n" .. debug.traceback(co))
|
||||
end
|
||||
@@ -719,6 +722,7 @@ local debug = require "skynet.debug"
|
||||
debug(skynet, {
|
||||
dispatch = dispatch_message,
|
||||
clear = clear_pool,
|
||||
suspend = suspend,
|
||||
})
|
||||
|
||||
return skynet
|
||||
|
||||
Reference in New Issue
Block a user