Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add necessary output to support realgud mode in Emacs #43

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Ruin0x11
Copy link

@Ruin0x11 Ruin0x11 commented May 27, 2019

Thank you for creating MobDebug. I would like to use it as a part of Emacs, integrated with the realgud package. The problem is the MobDebug server doesn't print a status line when certain events are received, like setting/removing breakpoints. Because of this there is no way for realgud to be aware of these events, so breakpoint indicators can't be shown, as discussed here. This PR adds that output for setb and delb. Also, it adds the ability to pass breakpoint numbers to delb to support breakpoint toggling for realgud, because the command output for the delete command is expected to be similar to that of gdb's, which uses incrementing breakpoint numbers as identifiers instead of file/line.

After adding these changes the debugger integration works pretty well so far with the Emacs plugin I wrote (realgud-mobdebug).

@pkulchenko pkulchenko self-assigned this Jul 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants