Skip to content

When using internal debug console, the number of arguments is larger than expected #13162

Open
@zhaosh05

Description

Environment

  • OS and Version: Windows 11
  • VS Code Version: 1.96.3
  • C/C++ Extension Version: 1.22.11

Bug Summary and Steps to Reproduce

Bug Summary:
In launch.json, if setting "externalConsole": false, then in the number of arguments is 3 larger than expected because there are some extra arguments, i.e., "2>CON 1>CON <CON". When using external console, the extra arguments will be gone.

Configuration and Logs

=thread-group-added,id="i1"
GNU gdb (GDB) 7.6.1
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Warning: Debuggee TargetArchitecture not detected, assuming x86_64.
=cmd-param-changed,param="pagination",value="off"
=cmd-param-changed,param="args",value="-d -m 2>CON 1>CON <CON"

Other Extensions

Mingw

Additional context

No response

Metadata

Assignees

No one assigned

    Labels

    debuggerhelp wantedCan be fixed in the public (open source) repo.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions