|
Re: Catching message send: msg#00159lang.smalltalk.squeak.beginners
One common, if unartful, technique for doing this kind of thing while debugging is temporarily to stash a reference to the specific object in a global, and then, in the method in question, check to see if the receiver is that object. Thus, in an Inspector on the object in question, evaluate, say, "Smalltalk at: #AA put: self". Then in the method in question, put something like "self == AA ifTrue: [self halt]" To clean up afterwards, you can evaluate "Smalltalk removeKey: #AA ifAbsent: []" and, of course remove the debugging code from the method. Cheers, -- Scott On Oct 31, 2006, at 2:32 AM, Mathieu wrote: Hi,
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Catching message send, Frank Urbach |
|---|---|
| Next by Date: | Re: Catching message send, Mathieu |
| Previous by Thread: | Catching message send, Mathieu |
| Next by Thread: | Re: Catching message send, Mathieu |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |