[squeak-dev] The Inbox: Tools-fbs.440.mcz
Frank Shearar
frank.shearar at gmail.com
Mon Jan 28 15:25:25 UTC 2013
On 27 January 2013 11:25, <commits at source.squeak.org> wrote:
> Frank Shearar uploaded a new version of Tools to project The Inbox:
> http://source.squeak.org/inbox/Tools-fbs.440.mcz
>
> ==================== Summary ====================
>
> Name: Tools-fbs.440
> Author: fbs
> Time: 27 January 2013, 11:25:15.292 am
> UUID: c8008aef-df70-41d0-bc30-4400e38412c5
> Ancestors: Tools-bf.439
>
> #subclassResponsibility in-Debugger method creation #3 of 4: given a SubclassResponsibilityError, create a stub method for the user to implement (and automatically categorise it correctly).
>
> =============== Diff against Tools-bf.439 ===============
<snip>
> Item was added:
> + ----- Method: Debugger>>implement:inClass:inCategory: (in category 'context stack menu') -----
> + implement: aMessage inClass: aClass inCategory: aSymbol
> +
> + aClass
> + compile: aMessage createStubMethod
> + classified: aSymbol.
> + self setContentsToForceRefetch.
> + self selectedContext privRefreshWith: (aClass lookupSelector: aMessage selector).
> + self selectedContext method numArgs > 0 ifTrue:
> + [(self selectedContext tempAt: 1) arguments withIndexDo:
> + [:arg :index|
> + self selectedContext tempAt: index put: arg]].
> + self resetContext: self selectedContext.
> + self debug.
> + !
I discovered a bug when handling selectors with numArgs > 0 - (self
selectedContext tempAt: 1) arguments fails. I'll figure it out and
resubmit.
frank
More information about the Squeak-dev
mailing list
|