[Pkg] The Trunk: Tools-fbs.283.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Dec 8 21:05:27 UTC 2010

Levente Uzonyi uploaded a new version of Tools to project The Trunk:

==================== 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') -----
  	"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!

More information about the Packages mailing list