ipython / ipython/ipython

The debugger mode of %run escapes the boundaries of a file

Aberta
#12,964 1 comentário 0 reações 0 responsáveis Ver no GitHub
bug magics
Linguagem predominante
Python
Estrelas
16.8k
Forks
4.5k
Merge médio
1d 2h
PRs com merge (30d)
6

Descrição

## Steps to reproduce

* Create a `test.py` file with the contents `a = 5` in the current directory
* Execute `%run -d test.py`
* Start executing `s` (step) commands in the debugger

## Expected result
The debugger terminates after two steps, when the `test.py` script exits.

## Actual result
The debugger carries on going through IPython's internals.

## System info
Manjaro Linux, Python 3.9.4, IPython 7.22.0 (reproduces on IPython 8.0.0.dev)

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.