Updates and clarifications to Debugging GMT on macOS with Visual Studio
Maintainer thường phản hồi trong vòng 1 ngày
@joa-quim đang làm issue này rồi.
Từ ngày 5/1/2024.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
After extreme procrastination I am finally trying to set up debugging using Visual Studio Code. I have the latest version 1.85.1 (Universal). Some edits are needed in the description, I think.
- Of course, the reference to the
GMT_Call_Modulenear Line 112 is now presumably 122? - OSX_DEPLOYMENT_TARGET could stay but might as well be updated to 14.0.
- Regarding "Click on the debug panel". I think this is called Debug Console now. Should we update Panel to Console throughout?
- Select gmt.begin from the debug drop-down menu. What dropdown menu? I've looked around and nothing obvious shows up. No green arrow to click either. Tell me how and I may add a picture to make this clear. Here is what I see and no obvious dropdown menu related to the Debug Console at the bottom:
If I click on the Problems menu button for the debug console it tells me it cannot find gdal.h? But build/gmt6/bin seems OK.
Finally tried a regular terminal window outside of VSC and prepended /Users/pwessel/UH/RESEARCH/CVSPROJECTS/GMTdev/gmt-dev/vbuild/gmt6/bin to my $PATH and set the GMT_SESSION_NAME=vscodedebug parameter. I then added that stop point at L122 and run gmt --help. I expected to see VSC stop execution at line 122 but it just ran the whole command. Same if I opened a Terminal from VSC and set the same parameters before running gmt plot. Same result. So what am I missing? I think running a CLI command is simpler for me than to edit tasks.json all the time. With Xcode one must hook either python or julia to the process but here there is no such thing so how can VSC connect my gmt call via build to VSC stop points?
OK stopping here because I am stuck.
- Ngôn ngữ chính
- C
- Star
- 997
- Fork
- 420
- Merge trung bình
- 13 giờ 27 phút
- Pull request đã merge (30 ngày)
- 47
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọ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 GenericMappingTools/gmt
-
Add support for SCM 9.0.0 to GMTCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
GenericMappingTools/gmt#9316 · 10 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
GenericMappingTools/gmt#5767 · 15 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
discussion
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
GenericMappingTools/gmt#9343 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 45/100
GenericMappingTools/gmt#9331 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
histogram: the min/max setting in -T is ignored when -R is setCó thể đã có người làm @seisman đã nhận 1 ngày trước. Đang mởbug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
GenericMappingTools/gmt#9330 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của GenericMappingTools/gmt
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
espressif/esp-iot-solution#856 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Broken links in reference manualCó thể đã có người làm @farisbasha đã nhận 15 ngày trước. Đang mởcore:meson
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
mpv-player/mpv#18934 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100