Skip to content

pdb should check if the executing file is modified and warn users #111051

Closed
@gaogaotiantian

Description

@gaogaotiantian

Feature or enhancement

Proposal:

It's possible that the file is modified during debugging, which would definitely confuse users - the source will not match the execution anymore.

There's no perfect solution under such circunstances, but we should at least warn users that this is happening.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibPython modules in the Lib dirtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions