Skip to content

How can I remove a breakpoint at a specified line number instead of by breakpoint index? #375

@YooMoonMoon

Description

@YooMoonMoon

I know that breakpoints are added by line number, such as:

bp add "demo.jl":1
bp add "demo.jl":5
bp add "demo.jl":10

but they are removed by index, such as:

bp rm 1
bp rm 2
bp rm 3

Therefore, is it possible to add a feature to remove breakpoints by line number? For example:

bp rm "demo.jl":1
bp rm "demo.jl":5
bp rm "demo.jl":10

or

bp rm line 1
bp rm line 5
bp rm line 10

If breakpoints can only be removed by index, I would need to list all breakpoints and manually find the corresponding index for a given line number. This process is a bit cumbersome.
Would it be possible to add a feature to remove breakpoints directly by line number?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions