ZIm/crates/dap_adapters/src
Anthony Eid 862d0c07ca
debugger: Fix gdb adapter and logger (#28280)
There were two bugs that caused the gdb adapter not to work properly,
one on our end and one their end.

The bug on our end was sending `stopOnEntry: null` in our launch request
when stop on entry had no value. I fixed that bug across all dap
adapters

The other bug had to do with python's "great" type system and how we
serialized our unit structs to json; mainly,
`ConfigurationDoneArguments` and `ThreadsArguments`. Gdb seems to follow
a pattern for handling requests where they pass `**args` to a function,
this errors out when the equivalent json is `"arguments": null`.

```py
@capability("supportsConfigurationDoneRequest")
@request("configurationDone", on_dap_thread=True)
def config_done(**args): ### BUG!!
    ...
```

Release Notes:

- N/A
2025-04-07 22:02:13 +00:00
..
dap_adapters.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
gdb.rs debugger: Fix gdb adapter and logger (#28280) 2025-04-07 22:02:13 +00:00
go.rs debugger: Fix gdb adapter and logger (#28280) 2025-04-07 22:02:13 +00:00
javascript.rs debugger: Fix gdb adapter and logger (#28280) 2025-04-07 22:02:13 +00:00
lldb.rs debugger: Fix gdb adapter and logger (#28280) 2025-04-07 22:02:13 +00:00
php.rs debugger: Fix gdb adapter and logger (#28280) 2025-04-07 22:02:13 +00:00
python.rs debugger: Start on tabless design (#27837) 2025-04-03 16:11:14 +00:00