Where is the define-button in the debugger?

Anthony Adachi adachipro at yahoo.com
Fri Apr 25 01:18:26 UTC 2003


Hello

I was reading about a "new" define-button in the
debugger at this page:

http://minnow.cc.gatech.edu/squeak/2996

"*Define your method here, go in the debugger. (Or run
it directly and use the newly created define-button in
the debugger, after it fired up a DNU) and implement
the desired behavior on the receiver-example-object."

Unfortunately, I don't see this button whenever I open
up the debugger when I get a doesNotUnderstand
message. I'm using Squeak 3.5, by the way.

The reason why I'm looking for such a thing is that
I'm trying to do Test Driven Development (TDD) with
Squeak. In which, one first creates a test for code
which has yet to come into existence. In other words,
one writes the test for the code first then after that
test fails one implements the class or method. i.e.-
start with a broken test.

I do have a vague recollection of reading something
about there is a way in SmallTalk to create classes
and methods within the debugger when one get's a
doesNotUnderstand message. As a result of sending a
message to an object which has yet to implement a
particular method or when one tries to create an
instance of a class which has yet to exist.

More info on TDD:
http://www.testdriven.com/modules/xoopsfaq/index.php?cat_id=1#q1
http://groups.yahoo.com/group/testdrivendevelopment/
http://c2.com/cgi/wiki?NeverWriteaLineOfCodeWithoutaFailingTest

Thanks,

Anthony

__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com



More information about the Squeak-dev mailing list