Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot step in debugger if line # doesn't change #38788

Closed
jpe mannequin opened this issue Jul 3, 2003 · 2 comments
Closed

Cannot step in debugger if line # doesn't change #38788

jpe mannequin opened this issue Jul 3, 2003 · 2 comments
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs)

Comments

@jpe
Copy link
Mannequin

jpe mannequin commented Jul 3, 2003

BPO 765624

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2004-03-22.19:35:53.000>
created_at = <Date 2003-07-03.21:42:40.000>
labels = ['interpreter-core']
title = "Cannot step in debugger if line # doesn't change"
updated_at = <Date 2004-03-22.19:35:53.000>
user = 'https://bugs.python.org/jpe'

bugs.python.org fields:

activity = <Date 2004-03-22.19:35:53.000>
actor = 'nbastin'
assignee = 'none'
closed = True
closed_date = None
closer = None
components = ['Interpreter Core']
creation = <Date 2003-07-03.21:42:40.000>
creator = 'jpe'
dependencies = []
files = []
hgrepos = []
issue_num = 765624
keywords = []
message_count = 2.0
messages = ['16858', '16859']
nosy_count = 2.0
nosy_names = ['jpe', 'nbastin']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue765624'
versions = ['Python 2.3']

@jpe
Copy link
Mannequin Author

jpe mannequin commented Jul 3, 2003

The debugger trace function is not called with a line
event if the line number executed doesn't change. This
happens when an infinite looop containing a single line
is executed, such as:

while 1:
     print 1

A slightly more realistic example would be something
like the following:

        items = range(0, 10)
        try:
                i = 0
                while 1:
                        print items[i]; i += 1
        except IndexError:
                pass

@jpe jpe mannequin closed this as completed Jul 3, 2003
@jpe jpe mannequin added the interpreter-core (Objects, Python, Grammar, and Parser dirs) label Jul 3, 2003
@jpe jpe mannequin closed this as completed Jul 3, 2003
@jpe jpe mannequin added the interpreter-core (Objects, Python, Grammar, and Parser dirs) label Jul 3, 2003
@nbastin
Copy link
Mannequin

nbastin mannequin commented Mar 22, 2004

Logged In: YES
user_id=430343

Fixed in:

ceval.c 2.386
test_trace.py 1.12

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs)
Projects
None yet
Development

No branches or pull requests

0 participants