Cannot seem to get my C++ process to terminate after stopping debugger (codelldb) #1421
Unanswered
LarssonMartin1998
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
I am on Neovim 0.11.0 running the latest nvim-dap as of writing. I have this code for stopping debugging:
Here is the .vscode/launch.json that I am using for my app:
I also tried options like the following in the launch.json without any affect(purely stolen from chatGPT so now idea if they do anything):
To test this I have a simple main.cpp which just prints std::println("Hello, World!") inside a while(true) loop. When starting the debugger I can observe that the power consumption of my laptop spike with about ~15W, and when stopping debugger it doesn't drop back down, in fact if I run it multiple times, the draw just keeps increasing. When checking htop I can see multiple processes running which I manually have to kill.
This is my lldb config:
I am using rustaceanvim for Rust which is also running codelldb, and when stopping the debugger there it kills the process as expected.
I've been dealing with this for shortly over a week now and can't seem to find what it is, do any of you know something I could try or just simply know what the issue is? Appreciate any help I can get. Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions