Debug launch with multiproject solution
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- vscode
- Ambito
- devtools, embedded-iot
Direzione di ricerca
Start with the launch.json and task.json configurations shown in the issue, then trace how the solution and application file are selected for a multiproject CMSIS solution. Compare the single-project and three-project cases; done means the launch and flash tasks select the application project rather than the first library project without a hard-coded output path.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Windows 10
Arm debugger 1.0.0 VSC extension
When I generate a solution with a single project all works fine.
my launch.json looks like:
{
// 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": "Arm Debug",
"type": "arm-debug",
"request": "launch",
"serialNumber": "${command:device-manager.getSerialNumber}",
"program": "${command:embedded-debug.getApplicationFile}",
"cmsisPack": "${command:cmsis-csolution.getTargetPack}",
"connectMode": "auto",
"debugFrom": "main",
"probe": "CMSIS-DAP",
"programMode": "auto",
"resetMode": "auto",
"preLaunchTask": "Flash Device"
}
]
}
and my task json looks like:
{
"version": "2.0.0",
"tasks": [
{
"label": "Build Context",
"type": "cmsis-csolution.build",
"solution": "${command:cmsis-csolution.getSolutionPath}",
"rebuild": false,
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Flash Device",
"type": "arm-debugger.flash",
"serialNumber": "${command:device-manager.getSerialNumber}",
"program": "${command:arm-debugger.getApplicationFile}",
"cmsisPack": "${command:device-manager.getDevicePack}",
"problemMatcher": [],
"dependsOn": "Build Context"
}
]
}
This works just fine for singe project solution. I can build flash and debug.
If I have a solution that contains three projects, the first two listed are library build projects and the third is the actual app with dependency of the previous two libraries. This also builds fine but debug launch seems to try to flash and debug only the first listed project (the library).
I know I could hard code the absolute build output path in the launch.json's "program" node but that does not seem like the right thing to do.
Is there another way?
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 7
- Fork
- 3
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ARM-software/vscode-arm-debugger
-
Arm Debugger engine fails to start on activation (possible race with Environment Manager PATH setup)Apertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
ARM-software/vscode-arm-debugger#24 · 5 commenti ·
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 20/100
ARM-software/vscode-arm-debugger#21 · 1 commento ·
-
enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
ARM-software/vscode-arm-debugger#16 · 9 commenti ·
Tutte le issue di ARM-software/vscode-arm-debugger
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
-
Windows: packaged_agent_ruby? never matches 'Puppet Labs\Puppet', so the openvox gem is not foundAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
-
chore docs good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 87/100
Karthik-beta/Blinkql#105 ·
I maintainer di solito rispondono entro 1 giorno
-
Notebook UI launcher should use the current Python interpreterForse già presa @sivakumar-mahalingam l’ha presa oggi. Apertastatus/needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 6 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
Flux159/mcp-server-kubernetes#384 ·