microsoft / debugpy

An implementation of the Debug Adapter Protocol for Python

Home Page:https://pypi.org/project/debugpy/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

debugpy will not step into other's code with justmycode:false automatically

Mactarvish opened this issue · comments

Before creating a new issue, please check the FAQ to see if your question is answered there.

Environment data

  • debugpy version: 1.8.1 (run import debugpy; print(debugpy.__version__) if uncertain)
  • OS and version: Ubuntu 20.04 Desktop
  • Python version (& distribution if applicable, e.g. Anaconda): 3.8.18
  • Using VS Code

Actual behavior

From today(before is well) debugpy will not auto step into other's code through justmycode:fase set.
Here's my config:

        {
            "name": "Python: Current File",
            "type": "python",
            "request": "launch",
            "program": "${file}",
            "console": "integratedTerminal",
            "justMyCode": false
        },

image

Now code is under glob.glob("aaa") which is third party code, if I click step into, the page will instantly jump to `glob.glob("aaa") instead of step into source code of glob (but I can still check source code by clicking the GRAY glob in CALL STACK), which is pretty unconvenient.

XXX

Expected behavior

After clicking step into, the code should jump to the source code.

Steps to reproduce:

Thanks for the issue.

This is actually a bug in VS code. See this issue here:
microsoft/vscode#214433