Commit Graph

114 Commits (18194789407c23d4076e8f3f54ad493d93fac258)

Author SHA1 Message Date
Blaž Hrastnik 9712bbb23b
Use which to resolve lsp/dap binaries
This resolves the following issue: https://github.com/helix-editor/helix/discussions/962#discussioncomment-1580046
Blaž Hrastnik fd0e4b1159 dap: Reduce amount of block_on uses
Blaž Hrastnik bd549d8a20 Merge remote-tracking branch 'origin/master' into debug
Blaž Hrastnik dc8df7ba21 Make thread_picker non-blocking
Blaž Hrastnik 2b4de41bf0 dap: Reply to RunInTerminal
Blaž Hrastnik 5545f8ebb5 dap: Add RunInTerminal reverse request, support replying to requests
Blaž Hrastnik bcf70d8e67 dap: All of these calls don't need &mut
Blaž Hrastnik 43fbb6d965 Make dap_start non-blocking
Blaž Hrastnik 032aaffa15 dap: Split call/request in the same way LSP does
Blaž Hrastnik 2dbf966293 dap: Start working on runInTerminal support
Blaž Hrastnik 8ffafb826f dap: Rewrite breakpoints so that there's a single set maintained
Blaž Hrastnik 2bd8a9b39d dap: Consistently rename type as ty
Blaž Hrastnik 31b431bfdd dap: Remove Deref for DebuggerCapabilities
Looks like a mistake
Blaž Hrastnik 155c608237 dap: Drop examples
Blaž Hrastnik 9baddc825d dap: Get rid of excessive cloning
Blaž Hrastnik a5ea61433c dap: Bump helix-core
Blaž Hrastnik f2b709a3c3 Merge branch 'master' into debug
Blaž Hrastnik d6e8a44d85 dap: Fix examples
Blaž Hrastnik bda05ec4bf Use a newtype for ThreadId
Blaž Hrastnik 83a8167402 Invert core -> dap dependency
Blaž Hrastnik ea59f77a6b Port over parsing improvements from the LSP
We need to terminate if we ever read 0 bytes which indicates closed
stream.
Dmitry Sharshakov 814dcfa8d2
fix lints
Dmitry Sharshakov d943a51e3e
editor: add Node.js debugger
Dmitry Sharshakov 0e51e5fbaf
editor: support setExceptionBreakpoints
Dmitry Sharshakov 413e477dc2 lldb: use stdio transport by default
Dmitry Sharshakov 507a1f8dd6 Get breakpoint reports from debugger
Dmitry Sharshakov df0ea6674a examples: ensure target stopped by waiting for enter from user
Dmitry Sharshakov cf7237d0b9
compat: make thread IDs signed
Delve needs it
Blaž Hrastnik 7b61c63ece Handle stderr
Blaž Hrastnik b997d2cdeb dap: Allow setting breakpoints before starting the adapter
Blaž Hrastnik 289303a30d dap: small TODO
Blaž Hrastnik 42f9718f55 dap: Extract thread_picker, make pause explicitly select a thread
Blaž Hrastnik 27c1b3f98b dap: Extract a thread_states map
Dmitry Sharshakov 6265e196b7
compat: change lldb to lldb-vscode
This should be preferred ID, although now lldb-vscode works with any
Blaž Hrastnik 2c7b75475f dap: refactor frame handling
Blaž Hrastnik 986828e75c dap: Remap keys, match current thread behavior from dap-mode, switch-thread
Dmitry Sharshakov b42631942b
Defaults in completions, better schema
Dmitry Sharshakov 2d42766a71
wip: refactor parameters in UI start
Dmitry Sharshakov 94901b8677
Customized completion for template parameters
Dmitry Sharshakov b001008a69
Support templates in debug configurations
Dmitry Sharshakov 0e779381a8
Format
Dmitry Sharshakov c463142e5e
Create new debugger config format
Dmitry Sharshakov 34c6094604
refactor
Dmitry Sharshakov 2158366b24
Enable variable types in DAP config
We have this feature
Dmitry Sharshakov fdad7d67aa
Check capabilities for breakpoint config
Dmitry Sharshakov c09b15197b
fix freeze with lldb terminated event
Dmitry Sharshakov b5b79e3656
types: make some fields optional as in spec
Dmitry Sharshakov 802ef20dbc
chore: bump helix-dap version to 0.4.1
Dmitry Sharshakov b6b99b2487
config: minor fixes
Dmitry Sharshakov 839d210573
Enable stdio transport via config