Skip to content

Debugging xrepo install failed #6508

Open
@gggggwen

Description

@gggggwen

Xmake 版本

xmake v2.9.9+20250512,

操作系统版本和架构

Ubuntu X86_64

描述问题

I executed xrepo env -b emmylua_debugger xrepo install ade , And I tried to make some break points in the ade's description file(ade/xmake.lua) . However . the debug program directly disconnected and is not blocked .
Here is the log :

gwen@gwen-KLVG-XX:~/github_repo/xmake-repo$ xrepo env -b emmylua_debugger xrepo install ade
checking for platform ... linux
checking for architecture ... x86_64
error: error: [Emmy]address already in use
stack traceback:
        [C]: in function 'error'
        [C]: in ?
        [C]: in field 'tcpListen'
        /home/gwne/.local/share/xmake/core/base/debugger.lua:44: in function 'base/debugger._start_emmylua_debugger'
        (...tail calls...)
        /home/gwne/.local/share/xmake/core/main.lua:173: in function 'main._init'
        /home/gwne/.local/share/xmake/core/main.lua:265: in function 'main.entry'
        (...tail calls...)

error: execv(xrepo install ade) failed(255)

期待的结果

Fix the bug

工程配置

In the library description of the official package management system

附加信息和错误日志

gwen@gwen-KLVG-XX:~/github_repo/xmake-repo$ xrepo env -b emmylua_debugger xrepo install ade
checking for platform ... linux
checking for architecture ... x86_64
error: error: [Emmy]address already in use
stack traceback:
        [C]: in function 'error'
        [C]: in ?
        [C]: in field 'tcpListen'
        /home/gwne/.local/share/xmake/core/base/debugger.lua:44: in function 'base/debugger._start_emmylua_debugger'
        (...tail calls...)
        /home/gwne/.local/share/xmake/core/main.lua:173: in function 'main._init'
        /home/gwne/.local/share/xmake/core/main.lua:265: in function 'main.entry'
        (...tail calls...)

error: execv(xrepo install ade) failed(255)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions