Open Yachint opened 2 years ago
Confirmed, however, data formatters for C++ come from upstream LLDB, you should report it there.
Sure, please let me know the name of the repository I can report the issue on. Also thanks for your work on this repo, much appreciated 👍
It's at https://bugs.llvm.org/
OS: macOS BigSur 11.6 VSCode version: September 2021 (version 1.61.2) CodeLLDB version: 1.6.8 Compiler: clang++/g++ System: Apple M1
The bug is related to queue size being shown as 1 even though the queue is empty. I have noticed that push and pop operations for queue are not being reported correctly in the debugger even though program runs as expected. A sample code is provided below to replicate the issue:
Below is my Launch.json config:
"configurations": [ { "name": "Launch", "type": "lldb", "request": "launch", "program": "${workspaceFolder}/Sketchpad/sketchpad", "args": ["-arg1", "-arg2"] }
And also the command I use with code runner to compile:
cd $dir && clang++ $fileName -o $fileNameWithoutExt -std=c++14 -g && $dir$fileNameWithoutExt