microsoft / microsoft/vscode-cpptools

Unable to see any VARIABLES or WATCH variable values

Đang mở
#8,317 5 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

debugger
Ngôn ngữ chính
TypeScript
Star
6.2k
Fork
1.7k
Merge trung bình
14 giờ 46 phút
Pull request đã merge (30 ngày)
61

Mô tả

Issue Type: Bug

I am using Visual Studio Code with the Microsoft C/C++ extension to debug a native 64 bit Windows application, compiled using Visual Studio 2019, latest update. Sometimes you cannot see any local variables, the display just shows this in red:

Error processing 'variables' request.

The watch window shows: An unspecified error has occurred.

Please see the screen show.

Sometimes when you step through or over code, you temporarily see this status, and it goes away again. But in the last few weeks, especially after the last few C/C++ extension updates, it seems far more common and does not recover, unless you restart the debugging session, and then maybe it will work again for some time.

PLEASE HELP. Sadly the code project is massive, not easy to share, and it does not always happen. What extra information can I provide, is there some sort of log file, or way to debug this extension.

Visual Studio Code has been work so well, and this used to never happen, but in recent times this has become more common.

Extension version: 1.7.1
VS Code version: Code 1.61.2 (6cba118ac49a1b88332f312a8f67186f7f3c1643, 2021-10-19T14:57:20.575Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No

System Info
Item Value
CPUs Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz (8 x 3592)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 31.26GB (19.74GB free)
Process Argv E:\KBCDev\Client1\main\Petro-SIM --crash-reporter-id f3b61543-d7cf-4e97-b69b-eeae346935a3
Screen Reader no
VM 36%
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30300192
pythontb:30283811
pythonvspyt551cf:30345471
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
pythonvsuse255:30340121
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
vsccppwt:30382697
pythonvssor306:30344512
bridge0708:30335490
pygetstartedt3:30385195
dockerwalkthru:30377721
bridge0723:30353136
pythonrunftest32:30373476
pythonf5test824:30373475
javagetstartedt:30364666
pythonvspyt187:30373474
vsqsis400:30386382
vsaa593:30376534
vssld246cf:30386378

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện các giá trị Variables và Watch bị thiếu trong extension VS Code C/C++ khi debug ứng dụng Windows native 64-bit được báo cáo. Thu thập các log của extension và debugger được yêu cầu trong issue, đồng thời so sánh hành vi khi thực hiện stepping và trong các session được khởi động lại; hoàn tất khi xác định được nguyên nhân có thể tái hiện và khôi phục việc kiểm tra biến một cách đáng tin cậy.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
cpp, typescript, vscode
Lĩnh vực
devtools
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.