Hi,
In the 60#103 there will be a new kind of “Watcher”: an execution-counter. Using the “suggestion” menu one can add a counter to any AST node. After, the editor shows a (c) Icon. Mouse over —> current state of the counter is shown. Of course, UI is just a stand-in and could be *much* better. But from a debug perspective, it already should be quite useful to get a feel of how often something gets executed. Henrik suggest this as a demo (and an example of how to install a Counter without using the UI): ExecutionCounter installOn: (RubParagraphDecorator >> #doesNotUnderstand:) ast Marcus |
He he! I love these goodies.
Doru > On Jun 21, 2016, at 5:45 PM, Marcus Denker <[hidden email]> wrote: > > Hi, > > In the 60#103 there will be a new kind of “Watcher”: an execution-counter. > > Using the “suggestion” menu one can add a counter to any AST node. > After, the editor shows a (c) Icon. Mouse over —> current state of the counter is shown. > > Of course, UI is just a stand-in and could be *much* better. But from a debug > perspective, it already should be quite useful to get a feel of how often something > gets executed. > > Henrik suggest this as a demo (and an example of how to install a Counter without using > the UI): > > ExecutionCounter installOn: (RubParagraphDecorator >> #doesNotUnderstand:) ast > > Marcus -- www.tudorgirba.com www.feenk.com "Quality cannot be an afterthought." |
On Tue, Jun 21, 2016 at 5:47 PM, Tudor Girba <[hidden email]> wrote: He he! I love these goodies. Yes, me too. This little things make the "IDE" look more "proffesional" and more welcoming to newbies as they are used to that in others environments. Doru |
Hi,
> On Jun 22, 2016, at 4:23 AM, Mariano Martinez Peck <[hidden email]> wrote: > > > > On Tue, Jun 21, 2016 at 5:47 PM, Tudor Girba <[hidden email]> wrote: > He he! I love these goodies. > > > Yes, me too. This little things make the "IDE" look more "proffesional" and more welcoming to newbies as they are used to that in others environments. I think that with these abilities we start to surpass what exists in other environments. Remember that this addition takes a few lines of code. In other environments, this would take a whole plugin with orders of magnitude more code. Our environment is disruptive, at least in this regard. Cheers, Doru > > Doru > > > > On Jun 21, 2016, at 5:45 PM, Marcus Denker <[hidden email]> wrote: > > > > Hi, > > > > In the 60#103 there will be a new kind of “Watcher”: an execution-counter. > > > > Using the “suggestion” menu one can add a counter to any AST node. > > After, the editor shows a (c) Icon. Mouse over —> current state of the counter is shown. > > > > Of course, UI is just a stand-in and could be *much* better. But from a debug > > perspective, it already should be quite useful to get a feel of how often something > > gets executed. > > > > Henrik suggest this as a demo (and an example of how to install a Counter without using > > the UI): > > > > ExecutionCounter installOn: (RubParagraphDecorator >> #doesNotUnderstand:) ast > > > > Marcus > > -- > www.tudorgirba.com > www.feenk.com > > "Quality cannot be an afterthought." > > > > > > -- > Mariano > http://marianopeck.wordpress.com -- www.tudorgirba.com www.feenk.com "Every thing has its own flow." |
Free forum by Nabble | Edit this page |