Skip to content

Add breakpoints to the REPL #42

@Flu

Description

@Flu

Goal

The current REPL, among its many problems, is that it doesn't feature any breakpoint functionality. The point of this task is to add breakpoints to it, making debugging even easier than before.

Requirements

The following commands should be supported:

  1. set a breakpoint, like break <address>, where address is the hexadecimal/decimal address of the instruction on which the breakpoint will activate. The command should fail if the address is invalid or if there's already a breakpoint at that location.
  2. show all breakpoints, like show break. This should return a list of breakpoints, each with their own id, their address and the instruction at that address.
  3. delete a breakpoint based on its id: delete break <id> or d break <id>

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthacktoberfest-2025Perfect bugs/enhancements for Hacktoberfest 2025needs-discussionNeed of further discussion by the contributorsreplMods or bugs pertaining to the REPL

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions