Skip to content

debuger didn't hit any breakpoints when open a soft link code folder #2526

@youngqqcn

Description

@youngqqcn
  • delve is latest
  • go version: 1.16.5
  • os: ubuntu20.04

It's a very strange issue. I'm not sure the this issue belong to visual code or delve.

My code folder absolute path is /data2/work/mycode. I made a soft link to ~/mycode. I opened the code folder by code ~/mycode , then the golang debuger didn't stop at any breakpoint.

If I open folder by absolute path , such as code /data2/work/mycode , the golang debuger will hit the breakpoints.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions