<div dir="auto">I think it is a great example of method wrappers</div><div dir="auto">I would live it</div><div dir="auto"><br></div><div dir="auto">Cheers!</div><div dir="auto">Hernan</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 1 Aug 2022 at 21:43 Mariano Montone <<a href="mailto:marianomontone@gmail.com">marianomontone@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div>Hi Hernán,</div>
<div><br>
</div>
<div>you are right. I didn't realize there
was BreakpointManager class. I thought the Browser was managing
breakpoints on its own and then I thought we could have a
programmatic access to a breakpoints api, that I see that
BreakpointManager already implements.</div>
<div><br>
</div>
<div>The motivation for these libraries was
to think of use cases for MethodWrappers. I think the tracer and
the advisers and actually useful, but BreakpointsManager is a bit
redundant, and comes with the downsides that you mentioned, that
the breaks appear in the wrapper method, not the actual method.</div>
<div><br>
</div>
<div>Feel free to take it out from Cuis! Or
leave it as an example of method wrappers..<br>
</div>
<div><br>
</div>
<div>Cheers!</div>
<div><br>
</div>
<div>Mariano</div>
<div><br>
</div>
<div>El 1/8/22 a las 20:05, Hernan Wilkinson
escribió:<br>
</div></div><div>
<blockquote type="cite">
<div dir="ltr">ah, btw, until we have a real breakpoint that we
can put in any part of a method, I do not think people will
really use this feature, at least for me using halt continues to
be a better option.<br>
<div>This comment is not a complaint to what you did Mariano,
just a thought that we should consider ...</div>
<div><br>
</div>
<div>Cheers!</div>
<div>Hernan.</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Aug 1, 2022 at 8:03 PM
Hernan Wilkinson <<a href="mailto:hernan.wilkinson@10pines.com" target="_blank">hernan.wilkinson@10pines.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Hi Mariano!
<div> I played a little bit with the BreakpointsManager tool
and I wanted to ask you if you have seen the
BreakpointManager class. This class is integrated with the
browser and you can select the option "toggle break on
entry" and when used it pop ups the debugger in the
selected method. Your solution does not open the debugger
en el method you want to set the breakpoint and that is a
little bit confusing (for students and newbies). </div>
<div> I see you have the option to break on exit, something
BreakpointManager does not provide.</div>
<div> What is the motivation for BreakpointsManager? What do
you think we gain from using it? (I'm asking you this to
see if I put it as an installed package in
CuisUniversity).</div>
<div><br>
</div>
<div> Thanks!</div>
<div> Hernan.</div>
<div><br>
</div>
<div> </div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sat, Jul 30, 2022 at
10:31 AM Mariano Montone via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st" target="_blank">cuis-dev@lists.cuis.st</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello Juan, Hernán,<br>
<br>
I'm attaching a set of packages for you to consider for
inclusion into Cuis.<br>
I've improved them and wrote tests for them.<br>
If there's something you don't like, please let me know
and I'll try to <br>
improve.<br>
<br>
If you decide to include, I think Packages/DevTools could
be a good home <br>
for them.<br>
<br>
I'm also attaching a FlatFileList tool. It can be helpful
to have for <br>
setups like mine where the normal FileList browser is too
slow.<br>
But that's up to you if you want to include or not.<br>
<br>
Thank you!<br>
<br>
Mariano<br>
<br>
El 22/6/22 a las 09:20, Juan Vuletich escribió:<br>
> On 6/17/2022 4:41 PM, Mariano Montone via Cuis-dev
wrote:<br>
>> Hello,<br>
>><br>
>> I've been looking at CodeCoverage package by
Nicolas Papagna (it is <br>
>> excellently written btw), to try to understand
how it worked, in <br>
>> particular the method wrapping.<br>
>><br>
>> Once I learned how they are implemented, I got
the idea of trying <br>
>> some experiments with them.<br>
>><br>
>> So I'm implementing three packages:
MethodAdvisers, <br>
>> BreakpointsManager and MessageTracer.<br>
>><br>
>> ...<br>
>><br>
>> These are all very much in the making, with
missing things, tests, <br>
>> and tools that would be cool to add; but I think
they have potential <br>
>> to be a good set of utilities.<br>
>><br>
>><br>
>> Cheers,<br>
>><br>
>> Mariano<br>
>><br>
><br>
> Hi Mariano,<br>
><br>
> This is very interesting! I think we'd host a package
with such <br>
> utilities in the main Cuis repo.<br>
><br>
> Thanks,<br>
><br>
-- <br>
Cuis-dev mailing list<br>
<a href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a><br>
<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">
<div dir="ltr"><span style="font-size:xx-small;border-collapse:collapse">
<div style="font-size:small"><a href="https://10pines.com/" style="font-family:Roboto,Helvetica,Arial,sans-serif;font-size:medium" target="_blank"><img src="https://10pines.github.io/email-signature/10pines-firma@2x.png" style="margin-bottom:0.5em" width="108"></a><span style="color:rgb(0,0,0);font-family:Roboto,Helvetica,Arial,sans-serif;font-size:medium"></span>
<h1 style="margin:0px;font-size:14px">Hernán Wilkinson</h1>
<h2 style="margin:0px 0px 1em;font-size:14px;color:rgb(100,100,100)">Software
Developer & Coach</h2>
<p style="margin:0px;color:rgb(100,100,100);font-size:12px">Alem
896, Floor 6, Buenos Aires, Argentina</p>
<p style="margin:0px;color:rgb(100,100,100);font-size:12px">+54
11 6091 3125</p>
<p style="margin:0px;color:rgb(100,100,100);font-size:12px">@HernanWilkinson</p>
</div>
</span></div>
</div>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">
<div dir="ltr"><span style="font-size:xx-small;border-collapse:collapse">
<div style="font-size:small"><a href="https://10pines.com/" style="font-family:Roboto,Helvetica,Arial,sans-serif;font-size:medium" target="_blank"><img src="https://10pines.github.io/email-signature/10pines-firma@2x.png" style="margin-bottom:0.5em" width="108"></a><span style="color:rgb(0,0,0);font-family:Roboto,Helvetica,Arial,sans-serif;font-size:medium"></span>
<h1 style="margin:0px;font-size:14px">Hernán Wilkinson</h1>
<h2 style="margin:0px 0px 1em;font-size:14px;color:rgb(100,100,100)">Software
Developer & Coach</h2>
<p style="margin:0px;color:rgb(100,100,100);font-size:12px">Alem
896, Floor 6, Buenos Aires, Argentina</p>
<p style="margin:0px;color:rgb(100,100,100);font-size:12px">+54
11 6091 3125</p>
<p style="margin:0px;color:rgb(100,100,100);font-size:12px">@HernanWilkinson</p>
</div>
</span></div>
</div>
</blockquote>
<p><br>
</p>
</div>
</blockquote></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Sent from a fat finger unaware device</div>