Skip to content

Better error message when missing args to pdb command #126944

Closed

Description

@hauntsaninja

Current behaviour:

λ ./python.exe -c 'breakpoint()'
> <string>(1)<module>()
-> breakpoint()
(Pdb) source
*** SyntaxError: invalid syntax

Proposed behaviour:

./python.exe -c 'breakpoint()'
> <string>(1)<module>()
-> breakpoint()
(Pdb) source
*** Missing arg!

Linked PRs

Activity

  1. added a commit that references this issue on Nov 18, 2024
  2. added
    stdlibStandard Library Python modules in the Lib/ directory
    on Nov 18, 2024
  3. added a commit that references this issue on Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions