Closed mfussenegger closed 7 months ago
nvim-dap reports Launching debug adapter before evaluating a adapter function:
Launching debug adapter
progress.report('Launching debug adapter')
But that message was never shown in dap.status() because at that point no session is active and status() returned a ''.
dap.status()
status()
''
If the adapter function takes a long time, it gave the impression that nothing was happening.
Solution:
Always show the last message in status(), and send a "" if a session closes.
""
nvim-dap reports
Launching debug adapter
before evaluating a adapter function:But that message was never shown in
dap.status()
because at that point no session is active andstatus()
returned a''
.If the adapter function takes a long time, it gave the impression that nothing was happening.
Solution:
Always show the last message in
status()
, and send a""
if a session closes.