-
Notifications
You must be signed in to change notification settings - Fork 58
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
Bring John Aspinall's Method Spies into the base #107
Comments
Hi, I would like to know if you are still working on this, and if you are, when do you think this branch could be merged to the master. Thanks and regards. |
@blairmcg I was looking at this, loaded the spies package, and there are some errors. To be honest, I don't like too much the solution. It overrides too much in different places an then it's very easy to broke things when the base system changes. I'll go for a simpler solution added to the base editors and browsers. Pharo has some improvements over the classic halt, #haltOnce, #haltIf: and others that are very common use. Maybe we can add some of them to Dolphin. @msobral what's your use case for spies? |
Ahh there's another thing. This is the license for ELV
I don't know if the same type of license applies to Method Spy but being Dolphin MIT, I thing that's not good to allow NON MIT contributions to be part of the core system. |
I think @objectarts started working on this but for some reason the progress of the branch method-spies stopped. |
For anyone needing this functionality I've created a repository with the current version of Method Spies. There are some changes and simplifications of the code compared to earlier versions, in particular the placement of spies/breakpoints now hopefully makes more sense (Andy spotted that spies could inadvertently be assigned/returned from the host method). Also the internals of the spy code no longer appear in the debugger unless deliberately stepped into. I'm still happy for this code (or some derivative of it) to be included in the base or Contributions repository, otherwise I'll continue to maintain in my own repository. |
It's about time we had true breakpoints in Dolphin. Thanks to John giving permission to add his method spies package into the the base of Dolphin we should be able to get there in short(ish) order.
The text was updated successfully, but these errors were encountered: