Hi,
I forgot to mention that a CompiledMethod offers a view with the bytecode.
Just to give you an idea of what it takes to extend the inspector, here is the implementation needed for adding the bytecode view to a CompiledMethod object:
CompiledMethod>>gtInspectorBytecodeIn: composite
<gtInspectorPresentationOrder: 40>
composite text
title: 'Bytecode';
display: [:anObject | anObject symbolic ]
Cheers,
Doru
![](cid:A351233D-5D57-4844-8894-EAE2A153F421)
On 29 Aug 2011, at 09:19, Stéphane Ducasse wrote:
getting really sexy.
On Aug 29, 2011, at 12:06 AM, Tudor Girba wrote:
Hi,
There are a couple of improvements related to the GT Inspector:
- A morph has a dedicated submorphs tab with which we can inspect the tree of morphs (see attached picture)
- A parse tree has a dedicated view that provides a tree of RB nodes and previews the information as a selection on the method source code (see the attached picture)
- On the top right there is a refresh button to update the inspector (it does not happen automatically)
- Damien Cassou fixed the "do it" support in the evaluator so now you can use the default keys as in the workspace
- Some more relevant menu items for manipulation
Cheers,
Doru
<gti13.png>
<gti14.png>
On 24 Aug 2011, at 11:12, Tudor Girba wrote:
The GT Inspector is now available by default in the Moose image (CMD+Shift+i).
It seems to work quite well.
Cheers,
Doru
On 22 Aug 2011, at 22:59, Stéphane Ducasse wrote:
Thanks doru :)
Stef
On Aug 22, 2011, at 7:59 PM, Tudor Girba wrote:
Hi,
I am happy to announce the first release of the Glamorous Inspector, a new browser for inspecting objects based on Glamour.
More information, including a demo and screenshots, can be found here:
http://www.humane-assessment.com/blog/glamorous-inspector-for-smalltalk
To download it follow the instructions from:
http://www.moosetechnology.org/tools/glamoroustoolkit
You can use it by:
1. "GTInspector openOn: someObject", or
2. "GTInspector registerToolsOn: Smalltalk tools" and then use CMD+I (explore)
Please let your opinion be heard :)
Cheers,
Doru
p.s. Have fun at ESUG :)
--
www.tudorgirba.com
"Every successful trip needs a suitable vehicle."
--
www.tudorgirba.com
"In a world where everything is moving ever faster,
one might have better chances to win by moving slower."
--
www.tudorgirba.com
"Some battles are better lost than fought."