The Trunk: Tools-mt.957.mcz

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

The Trunk: Tools-mt.957.mcz

commits-2
Marcel Taeumel uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-mt.957.mcz

==================== Summary ====================

Name: Tools-mt.957
Author: mt
Time: 8 April 2020, 9:41:37.208591 am
UUID: efc7c1c3-29f1-bc4d-afe2-9b4ff890ca8e
Ancestors: Tools-mt.956

Makes method browsing more useful when requested through the StandardToolSet. Try regular code browser, then versions browser, then inspector --- depending on whether installed or any history present.

=============== Diff against Tools-mt.956 ===============

Item was added:
+ ----- Method: StandardToolSet class>>browseMethod: (in category 'browsing') -----
+ browseMethod: aCompiledMethod
+ "Browse aCompiledMethod on the most convenient possible way, using a System Browser, a Versions Browser, or an Inspector."
+
+ aCompiledMethod isInstalled
+ ifTrue: [^ self browse: aCompiledMethod methodClass selector: aCompiledMethod selector].
+ (aCompiledMethod methodClass changeRecordsAt: aCompiledMethod selector)
+ ifNotNil: [^ self browseMethodVersion: aCompiledMethod].
+ ^ self inspect: aCompiledMethod!