-
Notifications
You must be signed in to change notification settings - Fork 296
Some IPC commands are buggy #445
Copy link
Copy link
Open
Labels
BugA report of unintended or broken behavior.A report of unintended or broken behavior.DebuggerPertains to the debugger.Pertains to the debugger.
Description
Trying to make my editor talk with raddbg, specifically to add watch expressions, I tackled some problems:
raddbg --ipc toggle_watch_expr [expression]does nothingraddbg --ipc toggle_watch_expr_at_cursoradds 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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BugA report of unintended or broken behavior.A report of unintended or broken behavior.DebuggerPertains to the debugger.Pertains to the debugger.