Easy to use execution counter with Icon in Editor
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 <marcus.denker@inria.fr> 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 <tudor@tudorgirba.com> 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
On Jun 21, 2016, at 5:45 PM, Marcus Denker <marcus.denker@inria.fr> 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
Hi,
On Jun 22, 2016, at 4:23 AM, Mariano Martinez Peck <marianopeck@gmail.com> wrote:
On Tue, Jun 21, 2016 at 5:47 PM, Tudor Girba <tudor@tudorgirba.com> 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 <marcus.denker@inria.fr> 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."
participants (3)
-
Marcus Denker -
Mariano Martinez Peck -
Tudor Girba