Fix in BackrgoundSourceProcessingService:
authorJan Vrany <jan.vrany@fit.cvut.cz>
Tue, 25 Feb 2014 21:03:46 +0100
changeset 14052 ebcdddd89b02
parent 14051 607958377e4f
child 14053 08f7da1dd758
Fix in BackrgoundSourceProcessingService: When codeview is used in debugger and an error/halt/breakpoint occur, catch the error and only print a backtrace onto a Transcript. This avoids a *debugger bomb* when there's some error source highlighter or other source processing service.
Tools__LintService.st
--- a/Tools__LintService.st	Tue Feb 25 17:33:33 2014 +0100
+++ b/Tools__LintService.st	Tue Feb 25 21:03:46 2014 +0100
@@ -176,10 +176,11 @@
     | service |
     service := self service: #'Tools::CodeHighlightingService'.
     service notNil ifTrue:[
-        service process: delayed
+        service processSafely: delayed
     ]
 
     "Created: / 05-08-2011 / 11:49:21 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 25-02-2014 / 19:57:41 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
 !LintService methodsFor:'registering'!
@@ -214,10 +215,10 @@
 !LintService class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/Tools__LintService.st,v 1.9 2013-09-05 10:46:11 vrany Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/Tools__LintService.st,v 1.10 2014-02-25 20:03:46 vrany Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libtool/Tools__LintService.st,v 1.9 2013-09-05 10:46:11 vrany Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/Tools__LintService.st,v 1.10 2014-02-25 20:03:46 vrany Exp $'
 ! !