Skip to content

breakpoint bug with same-name files #106331

@huand

Description

@huand

Issue Type: Bug

I have a source folder with a file: "mysource1.cpp".

I have a test folder with a file: "mysource1.cpp" (same name as in source).

If i have a break point at line L in test/mysource1.cpp, the actual break happens in line L in source/mysource1.cpp.

Obviously this bug goes away if i rename the file (test/mysource1_test.cpp).\

Expected behaviour would be to actually break where the break point is.

VS Code version: Code 1.48.2 (a047975, 2020-08-25T10:56:10.074Z)
OS version: Linux x64 5.4.0-45-generic snap

System Info
Item Value
CPUs Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz (8 x 4600)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: disabled_software
skia_renderer: disabled_off_ok
video_decode: unavailable_off
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Load (avg) 1, 1, 1
Memory (System) 62.75GB (46.00GB free)
Process Argv --force-user-env --no-sandbox --unity-launch --no-sandbox
Screen Reader no
VM 0%
DESKTOP_SESSION ubuntu
XDG_CURRENT_DESKTOP Unity
XDG_SESSION_DESKTOP ubuntu
XDG_SESSION_TYPE x11
Extensions (10)
Extension Author (truncated) Version
Doxygen bbe 1.0.0
cmake-format che 0.6.11
doxdocgen csc 0.7.2
githistory don 0.6.9
vscode-docker ms- 1.5.0
python ms- 2020.8.106424
cmake-tools ms- 1.4.1
cpptools ms- 0.30.0-insiders4
cmake twx 0.0.17
markdown-all-in-one yzh 3.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    *caused-by-extensionIssue identified to be caused by an extension

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions