Debugging Session is unable to be restarted/terminated
Author: mxs2301Created Jul 16, 2025Updated Sep 20, 2026
LabelsC-bug
Summary
When trying to debug a C or C++ executable, the debugger starts in a separate thread. When switching threads, debugging works as expected. Upon trying to terminate the session or restart it the channel gets closed, while the debugging session does not get terminated. Afterwards trying to launch a debug session result in the debugger already running and a closed channel.
Reproduction Steps
hx Main.cc or hx Main.cpp
Setup a random breakpoint, start the debug session, terminate it and try to relaunch it afterwards.
Helix log
The log file is only providing information on clangd, but no signs of the debugging session.
Platform
Linux
Terminal Emulator
kitty 0.42.1
Installation Method
package manager - arch linux
Helix Version
helix 25.07 (2935c53e)
Source: helix-editor/helix