-
Notifications
You must be signed in to change notification settings - Fork 41
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
Typing any character in the terminal causes jump to source #213
Comments
I remember that looking for just the prompt was fragile. Therefore, I added a custom marker ^z^z^z at some point. But it wasn't reliable in some scenarios, either. |
https://asciinema.org/a/TGYF2fu0k5LYfW2BBKzjx3vy1 I need to look into this issue more to find a reproducible case but here is a video showing this issue. Edit: Confirmed that this issue is much worse when |
How does the branch develop work for you? |
Testing on 0da3d19 This has fixed the issue where typing any character causes it to jump. This has also made commands like There is a problem I have noticed.
The same thing can be achieved by placing the breakpoint in a loop and using I think that the ideal behaviour is that |
When your fix is slightly adjusted, it fixes #213 too. |
This makes things pretty unusable.
The issue is cause by this change:
09c92da#diff-f73960b7024bf1aed12c42b6d3c29f67b52a1dfee2fb99cc07d937d6d340bb3dL50
The pattern
$
matches every string so this code is triggered every time the input buffer is changed. I have fixed the issue by reverting this change to the actual regex for the(gdb)
prompt.I am happy to submit a PR but I don't understand why it was changed to
$
in the first place. Is there something I am missing?The text was updated successfully, but these errors were encountered: