Skip to content

Replace g_breakpoints with a more robust breakpoint container. #4

@joekain

Description

@joekain

Currently, the breakpoint module uses a fixed size array, g_breakpoints, to store breakpoints. This array and its usage have a number of limitations:

  • Running out of space in the array is not handle gracefully
  • Even when breakpoints are deleted the space is not reclaimed
  • Enumeration of breakpoints is done manually by iterating over the array which leads to duplication
  • Searches through the array are linear which could be made faster given a better structure

Acceptance Criteria:

  • A new test exists that creates and destroys breakpoints over and over again such that at least 1000 breakpoints are created.
  • The new test passes.
  • All existing tests pass

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions