Skip to content

Stop at breakpoints during evaluate request (recursive debugging) #510

@hcostelha

Description

@hcostelha

Environment data

  • VS Code version: 1.52.0
  • OS and version: Xubuntu 20.04
  • Python version (& distribution if applicable, e.g. Anaconda): 3.8.5
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
  • Relevant/affected Python packages and their versions: N/A
  • Relevant/affected Python-related VS Code extensions and their versions: Python, v2020.12.424452561
  • Value of the python.languageServer setting: Jedi

Expected behaviour

Running a function from the debug console should stop in all breakpoints reached due to that call

Actual behaviour

I have done the following:

  1. I am running a debug session and am stopped at a brakpoint.
  2. I changed a function form an imported module.
  3. Added a breakpoint inside that function.
  4. Reloaded the corresponding module (the one with the new function) using importlib.
  5. Called that function from the Debug Console

The debugger did not stop at the breakpoint, as would be expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions