ashgti wrote:

> The more I look at it seems we need to advertise the repl mode. As there is 
> no other way for the user to know there is a repl-mode except reading the 
> docs.

If we do detect a case where there is a variable and a command that overlap we 
issue a warning 
https://github.com/llvm/llvm-project/blob/87bf5ee23863bc0b467ee44b2184b2c134a98464/lldb/tools/lldb-dap/DAP.cpp#L638-L644

I think if we include a link that has more information that should be enough 
and since this is on every startup, I'm trying to be brief as to not spam to 
much. With that in mind, I did try to shorten this some so it now prints:

```
To get started with the debug console try "<variable>", "<lldb-cmd>" or "help 
[<lldb-cmd>]" for more information.
For more information visit 
https://github.com/llvm/llvm-project/blob/main/lldb/tools/lldb-dap/README.md#debug-console
Executable binary set to 'a.out' (arm64-apple-macosx15.0.0).
Attached to process 1234
```

https://github.com/llvm/llvm-project/pull/170795
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to