[squeak-dev] The Trunk: CommandLine-fbs.3.mcz

commits at source.squeak.org commits at source.squeak.org
Thu May 8 08:39:12 UTC 2014


Frank Shearar uploaded a new version of CommandLine to project The Trunk:
http://source.squeak.org/trunk/CommandLine-fbs.3.mcz

==================== Summary ====================

Name: CommandLine-fbs.3
Author: fbs
Time: 8 May 2014, 9:38:32.333 am
UUID: 6f164b84-6acd-c14f-96eb-d5cd169663b7
Ancestors: CommandLine-fbs.2

If something raises a Warning (or other debugger-raising user-intervention-requiring Notification) while the image is running headless, log the Notification and resume.

=============== Diff against CommandLine-fbs.2 ===============

Item was added:
+ ----- Method: CommandLineToolSet class>>debugContext:label:contents: (in category 'debugging') -----
+ debugContext: aContext label: aString contents: contents
+ 	"We can't open a command line debugger, so just log the error and carry on."
+ 	| s |
+ 	s := FileStream stderr.
+ 	s
+ 		nextPutAll: self className;
+ 		nextPutAll: ': ';
+ 		nextPutAll: aString;
+ 		cr;
+ 		nextPutAll: contents;
+ 		cr.
+ 	(aContext stackOfSize: 20) do: [:ctx | ctx printOn: s. s cr].
+ 	s flush.!



More information about the Squeak-dev mailing list