microsoft / microsoft/vscode-cpptools

[ARM] stopAtEntry: false has no effect

オープン
#978 コメント 8 件 リアクション 0 件 担当者 1 名 GitHub で見る

@pieandcakes がすでに取り組んでいます。

2017年8月17日 から。

bug debugger embedded
主要言語
TypeScript
スター
6.2k
フォーク
1.7k
平均マージ
14時間 46分
マージ済み PR(30日)
61

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。