Moldable Tools are Cooooool!

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Moldable Tools are Cooooool!

Sean P. DeNigris
Administrator
Wow, things are getting way more fun around here :)

Pharo Debugger Customization for Phexample
https://www.youtube.com/watch?v=Bq6RK_z3_Is

In just a few minutes, Pharo's moldable debugger let's us turn a useless error message into a much better format - diffed even! In a few minutes, we've made our IDE experience much better!

Happy customizing :)
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: Moldable Tools are Cooooool!

Andrei Chis
Very nice :)

Though an even cooler think would be to have
the diff view appear dynamically in the debugger 
when you get an assertion failed due to PhexMatcher :)


Cheers,
Andrei


 

On Wed, Jul 8, 2015 at 7:06 PM, Sean P. DeNigris <[hidden email]> wrote:
Wow, things are getting way more fun around here :)

Pharo Debugger Customization for Phexample
https://www.youtube.com/watch?v=Bq6RK_z3_Is

In just a few minutes, Pharo's moldable debugger let's us turn a useless
error message into a much better format - diffed even! In a few minutes,
we've made our IDE experience much better!

Happy customizing :)



-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/Moldable-Tools-are-Cooooool-tp4836594.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.


Reply | Threaded
Open this post in threaded view
|

Re: Moldable Tools are Cooooool!

Sean P. DeNigris
Administrator
Andrei Chis wrote
have the diff view appear dynamically in the debugger
when you get an assertion failed due to PhexMatcher
Is that possible? I mean "does the framework allow for that capability", not "could it be hacked in".
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: Moldable Tools are Cooooool!

Andrei Chis

On Wed, Jul 8, 2015 at 8:07 PM, Sean P. DeNigris <[hidden email]> wrote:
Andrei Chis wrote
> have the diff view appear dynamically in the debugger
> when you get an assertion failed due to PhexMatcher

Is that possible? I mean "does the framework allow for that capability", not
"could it be hacked in".

That's almost possible but using the Glamour interface of the debugger. 
The Spec interface is not really optimized to be customizable. Though it should be doable with a bit more work.

You would do that by creating a custom debugger extension and customizing the interface with the widgets that you want/need.
Right now the framework does not automatically switch between extensions when it detects that a more specific extension
is available, though incorporating these feature into the framework is not that difficult.
 
The SUnit debugger gives an example of how to customize the glamour interface (http://scg.unibe.ch/research/moldabledebugger)

Cheers,
Andrei





-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/Moldable-Tools-are-Cooooool-tp4836594p4836600.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.


Reply | Threaded
Open this post in threaded view
|

Re: Moldable Tools are Cooooool!

Tudor Girba-2
In reply to this post by Sean P. DeNigris
I am so happy to see this moldability virus spreading like that :).

Nice work. As Andrei pointed out, you might want to take a look at the GTDebugger. Here is a paper describing it:


On Wed, Jul 8, 2015 at 7:06 PM, Sean P. DeNigris <[hidden email]> wrote:
Wow, things are getting way more fun around here :)

Pharo Debugger Customization for Phexample
https://www.youtube.com/watch?v=Bq6RK_z3_Is

In just a few minutes, Pharo's moldable debugger let's us turn a useless
error message into a much better format - diffed even! In a few minutes,
we've made our IDE experience much better!

Happy customizing :)



-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/Moldable-Tools-are-Cooooool-tp4836594.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.




--

"Every thing has its own flow"