Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source Path wildcard support not working #264

Open
jasonwilliams opened this issue Feb 9, 2020 · 1 comment
Open

Source Path wildcard support not working #264

jasonwilliams opened this issue Feb 9, 2020 · 1 comment

Comments

@jasonwilliams
Copy link

@jasonwilliams jasonwilliams commented Feb 9, 2020

OS: MacOS 10.14.6 & linux
VSCode version: 1.42.0
Extension version: 1.4.5
Python version: Python 3.7.4
LLDB version: lldb-1001.0.13.3
Swift-5.0

Source maps should be able to contain wildcards
I'm sure at one point glob support was working, but now it doesn't either in dev container or on MacOS.

Steps to reproduce

Working

      "sourceMap": {
        "/rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8": "/Users/[User]/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust"
      },

image

Not working

      "sourceMap": {
        "/rustc/*": "/Users/[User]/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust"
      },

image

@vadimcn

This comment has been minimized.

Copy link
Owner

@vadimcn vadimcn commented Feb 10, 2020

I'm sure at one point glob support was working,

That's true, however that was a hack on top of that lldb itself provides, and later it turned out that my approach created problems in other places, so I decided to drop this feature in favor of lldb's native support.
There seems to be a conceptual problem with globs in the source map, because in some circumstances the debugger needs to perform a reverse mapping.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.