Replies: 1 comment
-
|
可以直接来个 pr 过来改进 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
launch.json
{ "configurations": [ { "name": "qt5natvis_launcher", "type": "cppdbg", "request": "launch", "visualizerFile": "${workspaceFolder}/.vscode/qt5.natvis.xml", "showDisplayString": true, "program": "${workspaceFolder}/build/mingw/x86_64/debug/qtWidgetTest.exe", "args": [], "cwd": "${workspaceFolder}", "stopAtEntry": false, "windows": { "environment": [ { "name": "Path", "value": "D:/Qt/Tools/mingw810_64/bin;D:/Qt/5.15.2/mingw81_64/lib;D:/Qt/5.15.2/mingw81_64/bin" } ], "externalConsole": false, "MIMode": "gdb", "miDebuggerPath": "D:/Qt/Tools/mingw810_64/bin/gdb.exe", }, "setupCommands": [ { "description": "Enable pretty-printing for gdb", "text": "-enable-pretty-printing", "ignoreFailures": true }, { "description": "Fix pretty-printing for gdb", "text": "set charset UTF-8" } ] }, ] }有两个问题
问题1: 在windows平台,vscode debug中正确显示qt的数据结构
问题2: debug的时候显示
u<error reading variable>Beta Was this translation helpful? Give feedback.
All reactions