Skip to content

[lldb-dap] REPL auto-detection does not recognize scripted command containers #142681

Open
@vogelsgesang

Description

@vogelsgesang

If I add a custom command container via

command container add -h 'Debugging utilities for C++20 coroutines' coro
command script add -o -p -c {__name__}.CoroBacktraceCommand coro bt

the auto-detection of the REPL mode for coro bt does not work as expected.
lldb-dap thinks this would be an expression, although it should be treated as a LLDB command.

For a full debugger script, see the example script in #142651 (inside the DebuggingCoroutines.rst)

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