Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High cpu load while debugging #1120

Open
fr43nk opened this issue Aug 5, 2024 · 2 comments
Open

High cpu load while debugging #1120

fr43nk opened this issue Aug 5, 2024 · 2 comments

Comments

@fr43nk
Copy link

fr43nk commented Aug 5, 2024

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
Copy link
Author

fr43nk commented Aug 13, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@fr43nk and others