microsoft / microsoft/vscode-cpptools

EASteamProxy.exe breaks VScode "command:pickProcess"

Aperta
#12,197 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

bug debugger help wanted Language Service
Lingua principale
TypeScript
Stelle
6.2k
Fork
1.7k
Merge medio
14h 46m
PR unite (30g)
61

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia riproducendo il flusso di attach di Windows con EASteamProxy.exe in esecuzione e confronta le due query dei processi WMIC mostrate nell’issue. Traccia l’implementazione dietro ${command:pickProcess}; il lavoro è completo quando il selettore dei processi può eseguire correttamente l’attach mentre EASteamProxy.exe è presente, senza compromettere il normale elenco dei processi.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
typescript, vscode
Ambito
developer-experience, devtools, operating-systems
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.