Issue 175951
Summary [lldb-dap] wrong category for program output on windows (mingw)
Labels new issue
Assignees
Reporter nd-work
    To reproduce, debug the following program with lldb-dap:

```
#include <stdio.h>

int main(void) {
 printf("ok\n");
  return 0; //break
}
```

On linux lldb-dap the output with the category `stdout` as expected:

```
{
  "jsonrpc": "2.0",
  "method": "output",
  "params": {
    "category": "stdout",
    "output": "ok\r\n"
  }
}
```

Lldb-dap from [llvm-mingw 20251216 with LLVM 21.1.8](https://github.com/mstorsjo/llvm-mingw/releases/tag/20251216) reports the output with the category `console`:

```
{
  "jsonrpc": "2.0",
 "method": "output",
  "params": {
    "category": "console",
 "output": "ok\n"
  }
}
```

_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to