On Wednesday 26 December 2001 10:01 pm, Ross Boylan wrote:
I have a bug in some layout code which is bringing up the emergency evaluator. Because of this, I can not bring up an ordinary debugger.
I realize there may be no silver bullets, but does anyone have any suggestions for getting to the bottom of this? I'm in a morphic problem, and the problem is at least a bit subtle because the object displays properly the first time.
Here are some strategies that have occurred to me. Which horse to bet on?
- Do old fashioned debugging with trace statements to a file. Aside
from the other problems, I'm not sure if buffering would prevent the interesting stuff from just before the problem from getting out.
If you quit from the Emergency Evaluator, I believe that files will be closed and flushed.
Use
Smalltalk snapshot: false andQuit: true