Debugger desirable feature

Ross Boylan RossBoylan at stanfordalumni.org
Sat Jun 30 05:53:07 UTC 2001


When in the debugger, pressing send will not get you out of a method.
I think it would be good if it did.  Is there any reason for the
current implementation?

While I'm at it, the debugger highlighting is also misleading around
conditionals.  if foo is false, code like this
  foo ifTrue: [ do something].
  next command.
has "do something" highlighted after evaluating the conditional, even
though it will not execute that statement.  At least, that's my
recollection.  When I try to evaluate the following method: 
silly
	|n|
	self halt.
	n_6.
	n _ Project allInstances size > 30 ifTrue: [n_5].
	n _ n+10.
	^n.

I get a code simulation error at evaluating the +10.  Other variants
seem to work OK.





More information about the Squeak-dev mailing list