[Q] Block>>ensure
Mike Roberts
mike at mjr104.co.uk
Mon Jun 30 22:09:12 UTC 2003
Hi,
I'm trying to understand an issue in some code and I would like to be able to debug/step into a block that uses Block>>ensure: . I was wondering if this was possible in the debugger?
The code in question (as an example) is in
SMTPClient class>> deliverMailFrom:to:text:usingServer:
[smtpClient mailFrom: fromAddress to: recipientList text: messageText.
smtpClient quit]
ensure: [smtpClient close]
I notice that ensure: uses a primitive and I wasn't sure how this works.
Thanks for any help
Mike
More information about the Squeak-dev
mailing list
|