Skip to content

Step into library import statement gives "Could not load source '<string>': Source unavailable." #209

@luabud

Description

@luabud

Set a breakpoint to a import numpy statement and step into it. It'll raise: Could not load source '<string>': Source unavailable.

VS Code Insiders 1.33.0
Extension version 2019.3.6215

launch.json file:

{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        
        {
            "name": "Python-test",
            "type": "python",
            "request": "launch",
            "program": "${file}",
            "console": "integratedTerminal",
            "stopOnEntry": true,
            "cwd": "${workspaceFolder}",
        },
    ]
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions