Debug launch with multiproject solution
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- vscode
- Lĩnh vực
- devtools, embedded-iot
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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?
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 7
- Fork
- 3
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ARM-software/vscode-arm-debugger
-
Arm Debugger engine fails to start on activation (possible race with Environment Manager PATH setup)Đang mởbug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
ARM-software/vscode-arm-debugger#24 · 5 bình luận ·
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 20/100
ARM-software/vscode-arm-debugger#21 · 1 bình luận ·
-
enhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
ARM-software/vscode-arm-debugger#16 · 9 bình luận ·
Tất cả issue của ARM-software/vscode-arm-debugger
Issue tương tự
-
createAI: the ai peer range allows ai@6, which the provider cannot work withCó thể đã có người làm @akhil9tiet đã nhận hôm nay. Đang mởbug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 83/100
cloudflare/agents#2690 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
roadmap-100
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
Maintainer thường phản hồi trong vòng 1 ngày
-
comp/tools P2 tool/browser tool/file type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
NousResearch/hermes-agent#143418 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
priority: medium status: needs-decision work-class: scoped
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
melodic-software/claude-code-plugins#9339 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày