Environment
- OS and version: macOS Monterey 12.4
- VS Code: 1.68.0
- C/C++ extension: 1.11.0
- OS and version of remote machine (if applicable): no
- GDB / LLDB version: 13.0.1
Bug Summary and Steps to Reproduce
Bug Summary: When debugging some code(for example, leveldb test code), sometimes the debug can't go on.
Steps to reproduce:
- Clone
leveldb and add main.cpp

4. Debug this executable, when entering DB::Open:

then I was stuck in `*dbptr = nullptr;` where there's 4 lldb-mi process and in the right panel(variable),there is a circle spinning.
Debugger Configurations
{
"version": "0.2.0",
"configurations": [
{
"type": "cppdbg",
"request": "launch",
"name": "Debug main test",
"program": "${workspaceFolder}/build/main_test",
"args": [],
"MIMode": "lldb",
"cwd": "${workspaceFolder}",
"MIMode": "lldb",
"miDebuggerPath": "/Users/fangliming/Documents/GitHub/collections/lldb-mi/src/lldb-mi",
}
]
lldb-mi version

Debugger Logs
log link
Additional Information
- lldb-mi won't exit when stop debugging.
- CodeLLDB extension works fine on my Mac.
outro
From the logs, it looks like the debugger is hanging on creating the variable edit.
-1034-var-create - - "edit" --thread 1 --frame 0
Why it is hanging on creating the VersionEdit edit variable.
Environment
Bug Summary and Steps to Reproduce
Bug Summary: When debugging some code(for example, leveldb test code), sometimes the debug can't go on.
Steps to reproduce:
leveldband add main.cpp
4. Debug this executable, when entering DB::Open:
then I was stuck in `*dbptr = nullptr;` where there's 4 lldb-mi process and in the right panel(variable),there is a circle spinning.Debugger Configurations
{ "version": "0.2.0", "configurations": [ { "type": "cppdbg", "request": "launch", "name": "Debug main test", "program": "${workspaceFolder}/build/main_test", "args": [], "MIMode": "lldb", "cwd": "${workspaceFolder}", "MIMode": "lldb", "miDebuggerPath": "/Users/fangliming/Documents/GitHub/collections/lldb-mi/src/lldb-mi", } ]lldb-mi version
Debugger Logs
log link
Additional Information
outro
From the logs, it looks like the debugger is hanging on creating the variable edit.
Why it is hanging on creating the VersionEdit edit variable.