0.8.0
What's Changed
This is mostly a maintenance release, with a couple of smaller additions and
some fixes.
This is the last release to support nvim-0.8.
The supported versions will be bumped to latest nightly (0.11), latest
stable (0.10.x) and 0.9.5 after this release.
DAP compliance fixes:
- Fixed the casing of
clientIDandclientNamein theinitializerequest. - The sequence number now starts at 1 for compatibility with debug adapters
like ansibug widgets.hover()now setshoveras context in evaluate requests, instead
ofrepl
Features, Extensibility, UI improvements
-
Added a health check. This should help find common configuration mistakes
like using~within thecommanddefinition of an adapter. -
Added an option to override the output handler. See
on_outputunder:help dap.defaults. -
Added
dap.utils.pick_fileand a corresponding configuration variable
${command:pickFile}. This can be used in configurations to prompt for
executable files within the current working folder. -
dap.utils.processnow cancels the start of the debug session if you discard
the process dialog. -
The different widgets will now emit a message if you try to expand an item
that has no children. -
The
REPLand floating windows widgets now havenowrapset by default. If
you don't like that you can create adap-replordap-floatftpluginto
override the setting. -
Improved the error handling in various locations to give better feedback in
case you're holding it wrong. -
Tweaked how executable adapters are terminated. This should avoid warnings or
errors with adapters likegdbwho don't like having the theiriochannel
get closed early. -
Added an option to configure the wait timeout for
pipeadapters. -
The internal
threadscache is now updated at most once per stopped events.
This should solve performance issues when debugging a application with lots
of threads.
launch.json
- Inputs are now only evaluated at most once per use of the configuration's entry.
dap-repl
- Fixed an issue that caused
v:countto be ignored withG - Auto-scroll is now only activated on
0GorG