microsoft / microsoft/vscode-cpptools

Breakpoint in included header gives weird behaviour

Aperta
#473 2 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@pieandcakes ci sta già lavorando.

Dal 3/2/2017.

debugger
Lingua principale
TypeScript
Stelle
6.2k
Fork
1.7k
Merge medio
14h 46m
PR unite (30g)
61

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.