Fix. Set/Del breakpoints may not work in some cases.#68
Fix. Set/Del breakpoints may not work in some cases.#68moteus wants to merge 1 commit intopkulchenko:masterfrom
Conversation
Problem that if buf has partial line e.g. `SETB fi` the mobdebug will not recognize it as a set breakpoint command.
|
Thank you for the patch; I agree there may be a problem with a partial buffer longer than 5 bytes, but do you have a test case or a description where this may happen? |
No. I just read the code :) |
I sometimes do this too ;) I wonder if this is the issue that may be causing pkulchenko/ZeroBraneStudio#909 (as that issue seems to be related to un/setting async breakpoints, which is what this fragment handles):
|
|
@moteus, I was re-reading the current logic and don't think it should cause this issue, as If you suspect that |
Problem that if buf has partial line e.g.
SETB fithe mobdebug will not recognize it as a set breakpoint command.