codelldb icon indicating copy to clipboard operation
codelldb copied to clipboard

High cpu load while debugging

Open fr43nk opened this issue 1 year ago • 2 comments

OS: 4.18.0-553.8.1.el8_10.x86_64 VSCode version: 1.88.2 CodeLLDB version: 1.10.0 Compiler: gcc 12.3 Debuggee: x86_64 GNU/Linux

The problem is while debugging. In a new debug session the adapter/codelldb process causes a 100% cpu load for some time > 1min. While this is the case, all debugging information are not available in vscode, also stepping doesn't work. I think this process scans the debug information to resolve variable values. But this is just a guess. Is there a way to deliver information about the state of the extension while this happens?

Best regards, Frank

fr43nk avatar Aug 05 '24 04:08 fr43nk

Sadly I cannot deliver any code. Maybe I can setup a debug environment and try to figure out, what is happening? One guess is, that it has something to do with the variables resolution. Is there a setting to limit the size or the iteration depth?

fr43nk avatar Aug 13 '24 21:08 fr43nk