Open hackroid opened 1 year ago
Small changes to the code will avoid the problem, but, just wondering why.
Like:
line 10: move int tt;
outside the for loop.
Or like:
line 9: change size_t
to int
.
It's broken. I switched to CodeLLDB for debugging on macOS.
@WardenGnaw have you seen this?
Yeah, this is due to the external dependency the debugger uses lldb-mi
.
Observed the exact same issue, i.e., local variable keep loading, lldb-mi showing significant memory consumption after a while.
macOS Ventura Version 13.2.1 (22D68)
Version: 1.76.2 Commit: ee2b180d582a7f601fa6ecfdad8d9fd269ab1884 Date: 2023-03-14T17:53:46.528Z Electron: 19.1.11 Chromium: 102.0.5005.196 Node.js: 16.14.2 V8: 10.2.154.26-electron.0 OS: Darwin arm64 22.3.0 Sandboxed: No
It's broken. I switched to CodeLLDB for debugging on macOS.
9831
This works for me too. Thanks bro!
Same issue when trying to step through a googletest test case that involves popen()
. Stepping through any other code is smooth and leak-free.
Environment
Bug Summary and Steps to Reproduce
Bug Summary:
lldb-mi
kept eating memory (about +500MB/s) when debugging until the whole macOS froze.Steps to reproduce:
Debug the following snippet with the provided environment above
line 14: vector<int> k;
5 2 6 1
, press enter, then be like thisActivity Monitor
(macOS app),lldb-mi
start using lots of memorylldb-mi
still won't stop and keep eating memorylldb-mi
only by force quit.Debugger Configurations
Debugger Logs
Other Extensions
No response
Additional Information
No response