microsoft / microsoft/vscode-cpptools

EASteamProxy.exe breaks VScode "command:pickProcess"

Open
#12,197 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug debugger help wanted Language Service
Dominant language
TypeScript
Stars
6.2k
Forks
1.7k
Avg merge
14h 46m
Merged PRs (30d)
61

Description

Environment
  • OS and version: Windows 11 Pro
  • VS Code: 1.88.1 (user setup)
  • C/C++ extension: v1.19.9
Bug Summary and Steps to Reproduce

Steps to Reproduce:

  1. Open any EA game like Titanfall 2 from Steam (game must also use EA app proxy), make sure you have EASteamProxy.exe in task manager.
  2. Create launch.js file that should attach a debugger to process you can choose
{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "(Windows) Attach",
            "type": "cppvsdbg",
            "request": "attach",
            "processId":"${command:pickProcess}"
        }

    ]
}
  1. Execute lauch.js
    image
Debugger Configurations
{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "(Windows) Attach",
            "type": "cppvsdbg",
            "request": "attach",
            "processId":"${command:pickProcess}"
        }

    ]
}
Debugger Logs
N/A
Other Extensions

Only C/C++ extension

Additional Information

PS:
It could be fixed if VS code will rather used this command:
wmic process get name,processid /format:list
instead of that, to get process id
wmic process get name,processid,commandline /format:list

If you close EASteamProxy.exe this error disappeares

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Windows attach flow with EASteamProxy.exe running and compare the two WMIC process queries shown in the issue. Trace the implementation behind ${command:pickProcess}; done means the process picker can attach successfully while EASteamProxy.exe is present, without breaking the normal process list.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
developer-experience, devtools, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.