[ENH][FIX] DebuggerEditAndCreateMethodFixes-nk

ned at squeakland.org ned at squeakland.org
Sat Jul 10 21:25:01 UTC 2004


"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

"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DebuggerEditAndCreateMethodFixes-nk.cs.gz
Type: application/octet-stream
Size: 2547 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040710/11de93d4/DebuggerEditAndCreateMethodFixes-nk.cs.obj


More information about the Squeak-dev mailing list