[squeak-dev] Problem debugging a test with #should:raise:
hernan.wilkinson at gmail.com
Wed Dec 30 13:10:05 UTC 2020
I'm sending this mail to the three lists because it is an error I found in
the three Smalltalks (Squeak, Pharo and Cuis) and maybe we could share the
effort to solve it and the solution.
The problem can be reproduce with this test:
should: [ self error: 'something' ]
withExceptionDo: [ :anError |
self assert: 'something different' equals: anError messageText ]
If you run that test, it will fail of course. So if you go with the
debugger to the context that signals de error (self error: 'something') and
press restart and then over you will find the error. In the case of Squeak
and Cuis, a new debugger is opened and you can not do anything with the
original one. In the case of Pharo, the debugger stops working (in another
try it opened a new debugger also but I could not reproduce it).
I think the problem is related to the execution simulation but it is not a
simple problem... Any idea what it could be?
*Hernán WilkinsonAgile Software Development, Teaching & Coaching*
*site: http://www.10Pines.com <http://www.10pines.com/>*
Address: Alem 896, Floor 6, Buenos Aires, Argentina
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Squeak-dev