Skip to content

Some IPC commands are buggy #445

@flyingsolomon

Description

@flyingsolomon

Trying to make my editor talk with raddbg, specifically to add watch expressions, I tackled some problems:

  • raddbg --ipc toggle_watch_expr [expression] does nothing
  • raddbg --ipc toggle_watch_expr_at_cursor adds a watch expression with the first ~1000 characters of the focused file instead of what's under the cursor (probably there's a cap, I suspect it tries to add the entire file)
  • raddbg --ipc toggle_watch_pin [expression] does toggle a watch pin at the cursor's location with the correct expression, however -
  • raddbg --ipc toggle_watch_pin [filename:line] [expression] does not work at all, as there is no way to specify a different location as everything is considered as a part of the expression (unlike what's written in the readme)
  • raddbg --ipc find_code_location [filename:line:column] works, but ignores the column

I'll add that the documentation for those commands currently is not very good, I think adding at least the input fields for each command so it's clear what is the correct way to call them would be already a big improvement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA report of unintended or broken behavior.DebuggerPertains to the debugger.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions