Skip to content

Have to step multiple times when "stepping in" with justMyCode=true #1104

@roblourens

Description

@roblourens

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

Environment data

  • debugpy version: 1.6.3
  • OS and version: macOS
  • Python version (& distribution if applicable, e.g. Anaconda): 3.9.5
  • Using VS Code or Visual Studio: VS Code

From microsoft/vscode-jupyter#11774

  • "jupyter.debugJustMyCode": true,
  • use the snippet below
  • press step into on line 5
  • 🐛 you need to press step into a couple of times before it resumes on the next line
import ipywidgets as widgets

print(12)

a = widgets.IntSlider(description='a')
a

@fabioz I assume this comes from the way ipython executes code one line at a time- is it possible for a single "step in" to advance to the next line when justMyCode is enabled, the same way it does when debugging a normal python script?

Lmk if you want debugpy logs for this, I'd be happy to grab them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions