Skip to content

0.8.0

Latest
Compare
Choose a tag to compare
@mfussenegger mfussenegger released this 30 May 10:29
· 48 commits to master since this release
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 clientID and clientName in the initialize request.
  • The sequence number now starts at 1 for compatibility with debug adapters
    like ansibug
  • widgets.hover() now sets hover as context in evaluate requests, instead
    of repl

Features, Extensibility, UI improvements

  • Added a health check. This should help find common configuration mistakes
    like using ~ within the command 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 have nowrap set by default. If
    you don't like that you can create a dap-repl or dap-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 like gdb who don't like having the their io 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 with G
  • Auto-scroll is now only activated on 0G or G