Skip to content

对于require的模块支持断点 #205

@cseYang

Description

@cseYang

Is your feature request related to a problem? Please describe.
在子模块中断点不生效

Describe the solution you'd like
-- 主文件
local part1= require "M_Part1"
-- 遍历表,将方法“复制”给 M
for k, v in pairs(part1) do
M[k] = v
end

-- 模块文件
local Part1= {}
function Part1:SomeMethod() ... end
return Part1

Describe alternatives you've considered
通过如上方式导入的模块方法,执行断点无效

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions