[ENH][FIX] DebuggerEditAndCreateMethodFixes-nk ([er])

stéphane ducasse ducasse at iam.unibe.ch
Sun Jul 11 10:19:05 UTC 2004


I browsed the code but I'm expert. I tried and I like the new behavior.

Stef
On 10 juil. 04, at 23:25, ned at squeakland.org wrote:

>
> "Change Set:		DebuggerEditAndCreateMethodFixes-nk
> Date:			10 July 2004
> Author:			Ned Konz
>
> This greatly simplifies the process of incremental programming, where
> you can quickly write code that calls unimplemented methods, create
> those methods, and keep running.
>
> With this change set installed, you should be able to do this:
>
> - open a Workspace
> - 3 zork  <print it>
> - get pre-debug window MNU, choose 'Create'
> - select class and category
> - edit method to read
> 	^self
> - accept
> - proceed
> - prints 3.
>
> This CS has the following fixes for the Debugger:
>
> * When accepting a new method that is a quick method, pop the context
> because we can't step through quick methods.
>
> * When proceeding from a MNU, re-send the message so that if it was
> newly implemented the new definition will be re-run. This is the same
> behavior that existed in Squeak prior to CS 5308.
>
> * When creating a new method from the pre-debug window, open a debugger
> on that method immediately.
>
> * Avoid returning nil keys from #sourceMap
>
> "
> <DebuggerEditAndCreateMethodFixes-nk.cs.gz>




More information about the Squeak-dev mailing list