microsoft / microsoft/vscode-cpptools

Remote debugging not possible

オープン
#321 コメント 24 件 リアクション 5 件 担当者 1 名 GitHub で見る

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

2016年11月5日 から。

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

説明

Trying to attach to a GDB server with no luck. All I want is to connect to the GDB server, run target remote localhost:4444 and start sending some monitor commands.

As soon as I uncomment miDebuggerServerAddress I get

Unable to start debugging. Cannot access a disposed object.

Also, why am I required to specify a process id? I am trying to debug on a embedded target, so my GDB server, that I run through, speaks with it over JTAG. Which process id is referred to?

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "C++ Attach",
            "type": "cppdbg",
            "request": "attach",
            "program": "${workspaceRoot}/Sw/A_XMC/out/use/A_Myriad_A_6_13.elf",
            "processId": "${command.pickProcess}",
            "MIMode": "gdb",
            // "miDebuggerServerAddress": "localhost:4444",
            "miDebuggerPath": "C:/dev/ELF/GDB/gdb.exe"
        }
    ]
}

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

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

はじめの一歩

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

評価

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

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

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