PDF
Eclipse CDT1MacC++/CMakeContentsEclipse CDT ........................................................................................... 1Visual Studio Code ................................................................................... 3使使Qt Creator ............................................................................................. 6KDevelop .............................................................................................. 6使Eclipse CDTCMake使使 Eclipse CDT2Google TestMac Visual Studio Code3使Visual Studio Code Visual Studio Code4使使lldb-mi.vscode/settings.json{ "cmake.debugConfig": { "miDebuggerPath": "/Users/hfli/.vscode/extensions/ms-vscode.cpptools-0.27.0/debugAdapters/lldb-mi/bin/lldb-mi" }} Visual Studio Code5launch.json{ "version": "0.2.0", "configurations": [ { "name": "(gdb) Launch", "type": "cppdbg", "request": "launch", // Resolved by CMake Tools: "program": "${command:cmake.launchTargetPath}", "args": [], "stopAtEntry": false, "cwd": "${workspaceFolder}/build", "environment": [], "externalConsole": true, "MIMode": "gdb", "MIDebuggerPath": "/Users/hfli/.vscode/extensions/ms-vscode.cpptools-0.27.0/debugAdapters/lldb-mi/bin/lldb-mi", "setupCommands": [ { "description": "Enable pretty-printing for gdb", "text": "-enable-pretty-printing", "ignoreFailures": true } ] } ]} KDevelop6使使CodeLLDB使launch.json{ "version": "0.2.0", "configurations": [ { "name": "Launch debug", "type": "lldb", "request": "launch", "program": "${command:cmake.launchTargetPath}", "args": [], "stopAtEntry": false, "cwd": "${workspaceFolder}/build", "environment": [] } ]}Qt CreatorKDevelop

HTML view coming soon.

Download PDF for the full formatted version.