The Inbox: Tools-fbs.283.mcz

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

The Inbox: Tools-fbs.283.mcz

commits-2
A new version of Tools was added to project The Inbox:
http://source.squeak.org/inbox/Tools-fbs.283.mcz

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

Name: Tools-fbs.283
Author: fbs
Time: 1 December 2010, 3:09:44.682 pm
UUID: 810789fa-9417-a340-a578-0df71274f43d
Ancestors: Tools-ul.282

When a method changes out from under your feet in the Debugger (e.g., you remove an instvar triggering a recompile of a method through which you've stepped), the Debugger blanks out contents. In the UI, this manifests as a blank code pane.

This change resets the contents ivar by setting it to the new, recompiled, CompiledMethod as a side effect of calling self selectedMessage.

=============== Diff against Tools-ul.282 ===============

Item was changed:
  ----- Method: Debugger>>contents (in category 'accessing') -----
  contents
  "Depending on the current selection, different information is retrieved.
  Answer a string description of that information.  This information is the
  method in the currently selected context."
 
+ contents == nil ifTrue: [^ self selectedMessage].
- contents == nil ifTrue: [^ String new].
  ^ contents copy!