microsoft / microsoft/vscode-cpptools

Breakpoint in included header gives weird behaviour

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

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

2017年2月3日 から。

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

説明

Mac OS Sierra

I set a breakpoint in a header I'm including in "main.cpp" called "Terrain.h". I run the program and hit that breakpoint. If I click on the breakpoint in the editor to remove it, an additional breakpoint appears in the Breakpoints list that's apparently in the file "Terrain.h ." ( a space and period/full stop after the actual name)

Clicking the two breakpoints in the Breakpoints brings me between two "instances" of the same file.

breakpoint_test.zip

I've included a simple test case. Put a breakpoint in init() to reproduce.

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

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

はじめの一歩

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

評価

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

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

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