Issue 202615
Summary lldb-server does not error when you ask for a nonexistent log channel
Labels lldb
Assignees
Reporter DavidSpickett
    In lldb:
```
(lldb) log enable lldb not_a_channel
error: unrecognized log category 'not_a_channel'
Logging categories for 'lldb':
<...>
 instrumentation-runtime - log instrumentation runtime plugin related activities
```
But with lldb-server:
```
$ ~/build-llvm-aarch64/bin/lldb-server gdbserver 127.0.0.1:1234 --log-channels "lldb this_is_not_a_channel_shouldnt_we_error_here" -- /tmp/test.o
Launched '/tmp/test.o' as process 27094...
lldb-server-local_build
```
No error.

It should tell you that the channel does not exist so you don't waste time wondering why you aren't seeing any output. As I did when I asked for `lldb breakpoints` instead of `lldb break`.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to