PRovide a way to actually enable the natvis diagnostics in VS Code
nikitalita opened this issue · 4 comments
nikitalita commented
There doesnt seem to be any way to enable the diagnostic output if you're using this with VS Code; I have no idea how to debug natvis issues without this ability.
WardenGnaw commented
You should be able to enable natvis diagnostic in your launch.json.
E.g.
{
"program": ...,
"natvisDiagnostics": "verbose"
}
nikitalita commented
Ah, it needs to be in the logging
object, like this:
{
"program": ...,
"logging": {
"natvisDiagnostics": "verbose",
},
}
nikitalita commented
That didn't seem to do anything; the natvis is being loaded because I DO see some of the visualizations I programmed, but i'm not seeing anything in the debug console or the terminal window. I don't see any entries in exec log list
that would suggest natvis logging is available, either.
macOS 13.0
nikita@Nikitas-MBP extensions % /usr/bin/lldb --version
lldb-1403.0.17.67
Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100)
NValerij commented
@WardenGnaw could you write, please, in what window logs should appear?