-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
1.4.0, 1.2.1, 1.6.0, 1.7.0
-
None
I'm using Ubuntu Linux 24.04 with clang/LLVM to develop Qt applications. I have installed the current latest VSCode extension 1.2.1, and configured it to use my custom Qt debug build with the qtpaths configuration.
However, the debugger integration does not pretty-print any Qt symbols. For example, the following screenshot shows a method with two QStrings aOutputAlias and vOutputAliasBefore. I would assume that pretty-printed symbols wold look more "pretty", or am I mistaken?
Here is the corresponding section from my .launch.json as created with the Qt extension, but slightly modified:
{
"name": "LLDB Debug MyExecutable",
"type": "lldb",
"program": "${env:BBSSOFTDEST_OSPATH}/Debug/bin/MyExecutable",
"request": "launch",
"args": [
"--hot-reload",
"--logfile",
"/tmp/MyExecutable.log",
"--verbose=15",
],
"cwd": "${env:BBSSOFTDEST_OSPATH}/Debug/bin",
"env": {
"name": "GTEST_CATCH_EXCEPTIONS",
"value": "0"
},
"visualizerFile": "${command:qt-cpp.natvis}",
"showDisplayString": true,
"linux": {
"MIMode": "lldb",
"miDebuggerPath": "/usr/bin/lldb"
},
"osx": {
"MIMode": "lldb"
},
"windows": {
"environment": [
{
"name": "PATH",
"value": "${env:PATH};${command:qt-cpp.qtDir}"
},
{
"name": "QT_QPA_PLATFORM_PLUGIN_PATH",
"value": "${command:qt-cpp.QT_QPA_PLATFORM_PLUGIN_PATH}"
},
{
"name": "QML_IMPORT_PATH",
"value": "${command:qt-cpp.QML_IMPORT_PATH}"
}
],
"MIMode": "lldb"
},
"console": "internalConsole",
},