vscode-cpptools icon indicating copy to clipboard operation
vscode-cpptools copied to clipboard

Multiple Matches for a symbol in GDB

Open fmadero opened this issue 1 year ago • 0 comments

Environment

  • OS and version: Windows 10 22H2
  • VS Code: 1.85.2
  • C/C++ extension: 1.3.0
  • OS and version of remote machine (if applicable): Ubuntu 20.04
  • GDB / LLDB version: GDB 9.2

Bug Summary and Steps to Reproduce

Bug Summary: When trying to inspect an array for some ada code vscode cppdbg ui locks up and in the "DEBUG CONSOLE" I see "Multiple matches for ..." and I am presented with choices. However I am not able to select any choice using the console or clicking on it. If I use gdb on the command line directly then I can respond with the a selection.

Steps to reproduce:

  1. In this environment...
  2. With this config...
  3. Do '...'
  4. See error...

Debugger Configurations

{
            "name": "pipe transport foo",
            "type": "cppdbg",
            "request": "launch",
            "targetArchitecture": "arm64",
            "program": "${config:REMOTE_BIN_PATH}",
            "stopAtEntry": true,
            "cwd": "${config:REMOTE_BIN_DIR}",
            "environment": [],
            "externalConsole": true,
            "pipeTransport": {
                "pipeCwd": "C:\\cygwin64\\bin",
                "pipeProgram": "C:\\cygwin64\\bin\\ssh",
                "pipeArgs": [
                    "-i",
                    "${config:REMOTE_ID_FILE}",
                    "${config:REMOTE_USERNAME}@${config:REMOTE_IP}",
                ],
                "debuggerPath": "/usr/bin/gdb",
            },
            "MIMode": "gdb",
            "logging": { "engineLogging": true, "trace": true, "traceResponse": true }
        },

Debugger Logs

N.A, just need a way to select the right menu choice while in VSCode.

Other Extensions

No response

Additional Information

No response

fmadero avatar Feb 12 '24 13:02 fmadero