Issue 181137
Summary lldb-dap: missing module.name field in the event module removed event
Labels new issue
Assignees
Reporter nd-work
    To reproduce, debug the program

```
#include <iostream>

int main() {
    std::cout << "Hello, World!" << std::endl;
    return 0; //break
}
```

and check the lldb-dap debug log.

The log contains the event with the module which doesn't have the name field which is mandatory according to the DAP specification:

```
{
  "body": {
    "module": {
      "id": "CFCDC5A8-732A-362B-B304-A4A690BD9DB3"
    },
    "reason": "removed"
  },
  "event": "module",
  "seq": 0,
  "type": "event"
}
```

[lldb-dap.log](https://github.com/user-attachments/files/25263135/lldb-dap.log)
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to