Vscode-cpptools: lldb-mi high CPU usage

Created on 16 Aug 2019  Â·  4Comments  Â·  Source: microsoft/vscode-cpptools

Hello,
I am using lastest VS code release:
Version: 1.37.0
Commit: 036a6b1
Date: 2019-08-08T01:22:37.660Z

in a Macbook Mojave 10.14.6 with C/C++ preview extension.
I understand that, well, it is a preview and some things will still need some polishment but when I have a C++ project opened in VS battery duration is drastically reduced. The OS points to VS as the main user of the battery and if you open the activity monitor you will see that lldb-mi process is always with a 90-100% cpu consumption, even if VS is in background

image

So, I hope that this issue will be addressed soon. Thanks for your great work!

debugger more info needed

Most helpful comment

Same here.

I try to debug a CMake C++ project.
Lauching works, seems like all symbols get loaded.
It stops properly on first breakpoint.
Buth then I cannot inspect variables nor step through code. Stopping debugging takes 1-2 seconds but seems to work.

The lldb-mi process keeps on spinning at 100% CPU and if not detected/killed manually, brings down the whole system after some minutes.

Id: ms-vscode.cpptools
Version: 0.27.0

Version: 1.44.2
Commit: ff915844119ce9485abfe8aa9076ec76b5300ddd
Date: 2020-04-16T17:07:18.473Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 19.4.0

Catalina 10.15.4
Xcode 11.4.1

All 4 comments

Same here.

I try to debug a CMake C++ project.
Lauching works, seems like all symbols get loaded.
It stops properly on first breakpoint.
Buth then I cannot inspect variables nor step through code. Stopping debugging takes 1-2 seconds but seems to work.

The lldb-mi process keeps on spinning at 100% CPU and if not detected/killed manually, brings down the whole system after some minutes.

Id: ms-vscode.cpptools
Version: 0.27.0

Version: 1.44.2
Commit: ff915844119ce9485abfe8aa9076ec76b5300ddd
Date: 2020-04-16T17:07:18.473Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 19.4.0

Catalina 10.15.4
Xcode 11.4.1

Hey @pieandcakes, this issue might need further attention.

@cyuste, you can help us out by closing this issue if the problem no longer exists, or adding more information.

This issue has been closed automatically because it needs more information and has not had recent activity.

Was this page helpful?
0 / 5 - 0 ratings