Bug Summary: When the debugger stops at a breakpoint, the entire VSCode just focuses on the code editor. Can't do anything in other windows, watch window for instance. Can't even interact with the VSCode menu at all!
`launch.json`:
{
"name": "C++ Launch (Console)",
"type": "cppdbg",
"request": "launch",
"preLaunchTask": "CMake: build all",
"postDebugTask": "",
"program": "${workspaceFolder}/Debug/Console",
"cwd": "${workspaceFolder}/build",
"stopAtEntry": false,
"externalConsole": false,
"launchCompleteCommand": "exec-run",
"linux": {
"MIMode": "gdb",
"miDebuggerPath": "/usr/bin/gdb"
},
"osx": {
"MIMode": "lldb"
},
"windows": {
"MIMode": "gdb",
"miDebuggerPath": "C:\\MinGw\\bin\\gdb.exe"
},
"args": [],
"setupCommands": [
{
"description": "Disable MI-async",
"text": "set mi-async off",
"ignoreFailures": true
},
{
"description": "Enable auto-load for all paths. Considered a security risk. See link for details: https://sourceware.org/gdb/current/onlinedocs/gdb.html/Auto_002dloading-safe-path.html",
"text": "set auto-load safe-path /",
"ignoreFailures": true
},
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
},
{
"description": "Set Disassembly Flavor to Intel",
"text": "-gdb-set disassembly-flavor intel",
"ignoreFailures": true
},
{
"description": "Do not display function arguments when printing a stack frame",
"text": "set print frame-arguments none",
"ignoreFailures": true
}
]
},
`tasks.json`:
{
"version": "2.0.0",
"tasks": [
{
"type": "cmake",
"label": "CMake: build all",
"command": "build",
"targets": [
"all"
],
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": ["$gcc"],
"detail": "CMake build all"
},
{
"type": "cmake",
"label": "CMake: build Console",
"command": "build",
"targets": [
"Console"
],
"group": {
"kind": "build",
"isDefault": false
},
"problemMatcher": ["$gcc"],
"detail": "CMake build Console"
},
{
"type": "cmake",
"label": "CMake: build Core",
"command": "build",
"targets": [
"DataStructuresAlgorithms.Core"
],
"group": {
"kind": "build",
"isDefault": false
},
"problemMatcher": ["$gcc"],
"detail": "CMake build Core"
},
{
"type": "cmake",
"label": "CMake: build Tests",
"command": "build",
"targets": [
"DataStructuresAlgorithms.Tests"
],
"group": {
"kind": "build",
"isDefault": false
},
"problemMatcher": ["$gcc"],
"detail": "CMake build Tests"
},
]
}
Environment
Bug Summary and Steps to Reproduce
Bug Summary: When the debugger stops at a breakpoint, the entire VSCode just focuses on the code editor. Can't do anything in other windows, watch window for instance. Can't even interact with the VSCode menu at all!
Steps to reproduce:
Debugger Configurations
Debugger Logs
Other Extensions
No response
Additional Information
No response