Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
zhaosh05 opened this issue Jan 16, 2025 · 0 comments
Labels
debugger help wanted Can be fixed in the public (open source) repo.

Comments

@zhaosh05
Copy link

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

@zhaosh05 zhaosh05 changed the title When using internal debug console, the number of argument is larger than expected When using internal debug console, the number of arguments is larger than expected Jan 16, 2025
@sean-mcmanus sean-mcmanus added debugger help wanted Can be fixed in the public (open source) repo. labels Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
debugger help wanted Can be fixed in the public (open source) repo.
Projects
None yet
Development

No branches or pull requests

2 participants