Visual studio code 我的代码没有´;调试C+时,不要在断点处停止+;在VisualStudio代码中

Visual studio code 我的代码没有´;调试C+时,不要在断点处停止+;在VisualStudio代码中,visual-studio-code,breakpoints,Visual Studio Code,Breakpoints,我的IDE没有在断点处停止。我无法导航到错误的代码。 我不知道如何进行 我是一名工科学生 这是launch.json { "version": "0.2.0", "configurations": [ { "name": "g++.exe - Build and debug active file", "type": "cppd

我的IDE没有在断点处停止。我无法导航到错误的代码。 我不知道如何进行

我是一名工科学生

这是launch.json

{
"version": "0.2.0",
"configurations": [
    {
        "name": "g++.exe - Build and debug active file",
        "type": "cppdbg",
        "request": "launch",
        "program": "${fileDirname}\\${fileBasenameNoExtension}.exe",
        "args": [
            "run",
            "debug",
        ],
        "stopAtEntry": false,
        "cwd": "${workspaceFolder}",
        "environment": [],
        "externalConsole": false,
        "MIMode": "gdb",
        "miDebuggerPath": "C:\\Program Files (x86)\\Falcon\\MinGW\\bin\\gdb.exe",
        "setupCommands": [
            {
                "description": "Enable pretty-printing for gdb",
                "text": "-enable-pretty-printing",
                "ignoreFailures": true
            }
        ],
        "preLaunchTask": "C/C++: g++.exe build active file"
    }
]
这是tasks.json

     {
"tasks": [
    {
        "type": "shell",
        "label": "C/C++: g++.exe build active file",
        "command": "C:\\Program Files (x86)\\Falcon\\MinGW\\bin\\g++.exe",
        "args": [
            "-Wall",
            "-Wextra",
            "-g",
            "*.cpp",
            "-o",
            "${fileDirname}\\${fileBasenameNoExtension}.exe"
        ],
        "options": {
            "cwd": "${workspaceFolder}"
        },
        "problemMatcher": [
            "$gcc"
        ],
        "group": {
            "kind": "build",
            "isDefault": true
        }
    }
],
"version": "2.0.0"
}
我会感谢你们能提供的任何帮助