-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
PR: Fix syncing of line number and plugin list for breakpoints and add unit tests. #5575
Conversation
@ccordoba12 Technically it is a bug in |
@csabella, if an issue is marked as a bug and is present in 3.x, please solve it in 3.x. Only if it's marked as an enhancement, it needs to be worked in master.
Don't worry about it. In any case, you can ask us in the corresponding issue if it needs to be solved in master or 3.x. |
@ccordoba12 I had to make some changes to the tests for 3.x. I commented each line that I changed. Would it be possible to modify those lines before merging with master? The original version of the tests were passing under 4.0. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I understand the refactoring, It removes some unnecessary code
Thanks for all the tests
Maybe something like this, could do the trick:
Although I'm not sure if it's the best way to do it |
I also think we should follow a similar path regarding different behaviors for Spyder 3 and master in the tests you added @csabella. |
The error was that the red dot was being marked on a line indicating that it was a breakpoint, but the breakpoint wasn't listed in the breakpoint plugin. To recreate:
|
I can't figure out the Travis error. The only change I made between this commit and the previous commit was to add a check the Spyder version number on lines that had been commented out. I would think that would make them basically the same, but yet, the last commit passed the tests and this one doesn't. |
@csabella, I restarted the failing Travis slot. Sometimes we got segfaults in Travis that require a restart. But now that you're a core dev, you can restart the failing slots yourself :-) |
Fixes #2179
clear_breakpoints
method, I put a note regarding thedel
. It's not calling the__del__
in the class.