microsoft / microsoft/vscode-cpptools

[ARM] stopAtEntry: false has no effect

Đang mở
#978 8 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 17/8/2017.

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

Here is:
VSCode 1.15.1 / x64
cpptools 0.12.2
Windows 8/x64
I am debugging remote target (ARM MCU) using arm-gcc tools and openocd server.

launch.json:

{
   "version": "0.2.0",
   "configurations": 
   [
      {
         "name": "OpenOCD & gdb",
         "type": "cppdbg",
         "request": "launch",
         "program": "${workspaceRoot}/Debug/Main.elf",
         "args": [],
         "stopAtEntry": false,
         "cwd": "${workspaceRoot}",
         "environment": [],
         "externalConsole": false,
         "visualizerFile": "${workspaceRoot}/Neon.natvis",
         "showDisplayString": true,
         "logging": 
         {
            "engineLogging":true,
            "moduleLoad": false,
            "exceptions": false,
            "trace": false, 
            "traceResponse": false
         },
         //"preLaunchTask": "oocd",
         "windows": 
         {
            "MIMode": "gdb",
            "miDebuggerPath":"c:/arm/bin/arm-none-eabi-gdb.exe",     
            "setupCommands": 
            [
               {"text":"target remote localhost:3333"},
               {"text":"monitor reset halt"},
               {"text":"monitor halt"},
               {"text":"set var {int}0xE0042008 |= 0x000001FF"},
               {"text":"set var {int}0xE004200C |= 0x00070003"},
            ]
         },
         "launchCompleteCommand": "exec-continue"
      }
   ]
}

And here is a piece of the log where VSCode instructs gdb to set breakpoint on main():

1: (1022) <-1014-break-insert main
1: (1034) ->1014^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x08014f34",func="main",file="Main.c",fullname="d:\\Oleg\\!Projects\\HAMHard\\TrcrvNew-(Neon)\\Soft\\Ctrl2\\Ctrl\\Main.c",line="1317",thread-groups=["i1"],times="0",original-location="main"}
1: (1034) ->(gdb)
1: (1034) 1014: elapsed time 12
1: (1034) ->&"\n"
1: (1034) ->^done
1: (1034) ->(gdb)

Please tell me if you need the full log, or other information...

BTW, Several months ago it worked fine.

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.