Type: Debugger
Input information below
Please review existing issues and our documentation at https://github.com/Microsoft/vscode-cpptools/tree/master/Documentation prior to filing an issue.
Describe the bug
To Reproduce
Please include a code sample and launch.json configuration.
Steps to reproduce the behavior:
Additional context
If applicable, please include logging by adding "logging": { "engineLogging": true, "trace": true, "traceResponse": true } in your launch.json
Add any other context about the problem here including log or error messages in your Debug Console or Output windows.
@Margie03 Please provide more information
Setting "targetArchitecture": "x86_64" in launch.json doesn't work?
I confirm @astinaam comment. It work by adding targetArchitecture to launch.json
/* launch.json */
{
"version": "2.0.0",
"configurations": [
{
"name": "C++ Launch",
"type": "cppdbg",
"request": "launch",
"targetArchitecture": "x86_64",
"program": "${workspaceRoot}/enigme",
"preLaunchTask": "build",
"internalConsoleOptions": "openOnSessionStart",
"logging": {
"moduleLoad": true,
"programOutput": true,
"trace": false
},
"showDisplayString": false,
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceRoot}",
"environment": [],
"externalConsole": true, // set true to enable keyboard input
"osx": {
"MIMode": "lldb"
}
}
]
}
@WardenGnaw
This issue has been closed automatically because it needs more information and has not had recent activity.
Most helpful comment
Setting "targetArchitecture": "x86_64" in launch.json doesn't work?