Status: FixedWaitingToBePharoed
Owner: stephane.ducasse
Labels: Milestone-1.3
New issue 3423 by stephane.ducasse: Debugger little usability enh
http://code.google.com/p/pharo/issues/detail?id=3423
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!