microsoft / microsoft/vscode-cpptools

GDB error while trying to enter break state due to level field; carry over issue from VS

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

@pieandcakes đang làm issue này rồi.

Từ ngày 28/6/2018.

bug 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ả

I'm running into the same issue as others have raised for VS (not VS Code):
https://github.com/Microsoft/MIEngine/issues/144
https://github.com/Microsoft/VSLinux/issues/71

Seems like VS has this bug fixed, but VS Code does NOT. For others, the full msg I get when trying to gdb my multi-threaded application and trying to break at a given point is as follows:

ERROR: Error while trying to enter break state. Debugging will now stop. Unrecognized format of field "level" in result: {level=-1,addr=0x4110faf4,func=??,args=[]}
The program '/home/program_name has exited with code 42 (0x0000002a).

System configs I'm running:

  • Ubuntu 16.04
  • 1.24.1 VSCode:
  • C/C++ Extension Version 0.17.5:

launch.json config:
"name": "program", "type": "cppdbg", "request": "launch", "miDebuggerPath": "~/arm-oe-linux-gnueabi-gdb", "targetArchitecture": "arm", "args": [], "stopAtEntry": true, "cwd": "", // omitted since not relevant "program": "", // omitted since not relevant "environment": [], "customLaunchSetupCommands": [ { "text": "target remote edison-xxxx:4444" }, { "text": "set sysroot xxxx" }, { "text": "file ${workspaceRoot}/result/xxxx" }, ] },

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.

Đánh giá

Issue này chưa được đánh giá.

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.