General
-
This is the last version supporting nvim 0.9.5. Going forward 0.10.x, 0.11.x and nightly are supported.
-
Changed how errors are logged for debug adapters.
stderroutput from a debug adapter is now always routed to a dedicated log file that is removed when the debug adapter process exits, unless it exits with an error. The same is the case forstdoutfor adapters communicating via TCP or PIPE. Note that some adapters (like delve) usedstdoutto show the output of the application you're debugging by default. These adapters typically also have an option to instead make use ofOutputEventevents which will result in the output showing up in the REPL. For delve the configuration property is calledoutputMode. -
The terminal buffer (
:help dap-terminal) now infers theerrorformatfrom the buffer from which you started a debug session. -
Added a
:DapPauseuser command.
API
-
Fixed an issue that caused response handlers for
session:requestto receive theerralso asresponse -
The
ErrorResponsevalues provided aserrparameter to event listeners or the response handler ofsession:requestnow has a__tostringmetatable method to supporttostring(err). -
Event listeners (
:help dap-listeners) can now returntrueto remove a registered listener. This can be useful for once-off listeners and mirrors nvim's autocmd API. -
Tweaked the display of the process information for
utils.pick_processto better fit onto the screen. The function now also takes alabelandpromptoption to customize that further.
REPL
-
Added
]]and[[keymaps to the REPL buffer to jump between prompts. -
Added an
optsparameter torepl.execute()to allow setting the context for anevaluaterequest.