microsoft / microsoft/vscode-java-test

Feature Req: Compound config support.

Offen
#1,041 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

ai-triaged enhancement low-priority test-debugging
Vorherrschende Sprache
TypeScript
Sterne
340
Forks
173
Ø Merge
1 T. 19 Std.
Gemergte PRs (30 T.)
18

Beschreibung

Are there any plans to add support for compound configurations (i.e. as the rest of vscode can do through defining compound configurations in launch.json)? Use case is JNI interfaces; want to launch a java test, and simultaneously launch a GDB C++ debugging instance that attaches to java to allow debugging when we reach C++ code.

Right now the specification of java.test.config outside of launch.json and the automated generation of the java side test config (to correspond to the method that we hit debug on) means we can't define a compound debugging config.

Obvious workaround right now is to have multiple instances of vscode running, and manually attach after launching and hitting a breakpoint on the java side, but would be immensely useful to have this natively supported in vscode-java-test.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne damit zu überprüfen, wie java.test.config außerhalb von launch.json angegeben wird und wie die Java-Testkonfiguration für eine Debug-Aktion generiert wird. Vergleiche dieses Verhalten mit Verbundkonfigurationen von VS Code in launch.json; als abgeschlossen sollte gelten, dass ein Java-Test und eine GDB-C++-Debugging-Instanz gemeinsam für das JNI-Debugging gestartet werden können.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
cpp, java, typescript, vscode
Bereich
developer-experience, testing
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.