This is a VSCode specific question.
Asking here since the VSCode repo points to asking question on SO.
I'm using VSCode on Mac OS, with LLDB.
I'm trying to figure out how to inspect a std::set
.
I can't find any doc on this; I found some ways to do it with GDB using macros (https://sourceware.org/ml/gdb/2008-02/msg00064/stl-views.gdb)
but I can't get GDB to work with VS Code (used the WebFreak Native Debug extension but on run I just get "running executable" and nothing happening, no error, no log, so I gave up on that)
LLDB has worked good for me so far (using -DDEBUG=2
flags to get symbols working right), but I see nothing when trying to open a set
in the variables
frame.
I only get the number of items in it.
Is there similar macros as the GDB ones to inspect sets in LLDB? Or is there some other way?
Thanks