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
clientID
andclientName
in theinitialize
request. - The sequence number now starts at 1 for compatibility with debug adapters
like ansibug widgets.hover()
now setshover
as context in evaluate requests, instead
ofrepl
Features, Extensibility, UI improvements
-
Added a health check. This should help find common configuration mistakes
like using~
within thecommand
definition of an adapter. -
Added an option to override the output handler. See
on_output
under:help dap.defaults
. -
Added
dap.utils.pick_file
and a corresponding configuration variable
${command:pickFile}
. This can be used in configurations to prompt for
executable files within the current working folder. -
dap.utils.process
now 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
REPL
and floating windows widgets now havenowrap
set by default. If
you don't like that you can create adap-repl
ordap-float
ftplugin
to
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 likegdb
who don't like having the theirio
channel
get closed early. -
Added an option to configure the wait timeout for
pipe
adapters. -
The internal
threads
cache 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:count
to be ignored withG
- Auto-scroll is now only activated on
0G
orG