There is small mistake in the preview as GTSpotterPreviewBrick>>updatePreviewWith: catches Exception and not Error. We also need to make the preview use the exception handled registered with the spotter. On Mon, Jun 1, 2015 at 11:26 PM, Nicolai Hess <nicolaihess@web.de> wrote:
2015-06-01 22:45 GMT+02:00 Andrei Chis <chisvasileandrei@gmail.com>:
To debug spotter you should first open it in debug mode. The simplest solution is to use GTSpotterGlobalShortcut class>>openGlobalSpotterDebug
No, that does not work. If you put a "self haltOnce" in a <spotterPreview> method, the preview is just empty, no debugger window (not in "normal" spotter and not in "spotter debug mode").
When not in debug mode spotter has an exception handler that captures all exceptions and write them to transcript.
I remember we fixed a while back some bugs related to styling caused by the fact that styling was done in a background process. Though a quick look on the changes introduced in 50064 doesn't reveal any style related change that could cause this issue.
Cheers, Andrei
On Mon, Jun 1, 2015 at 10:28 PM, Nicolai Hess <nicolaihess@web.de> wrote:
2015-06-01 10:55 GMT+02:00 Nicolai Hess <nicolaihess@web.de>:
2015-06-01 10:39 GMT+02:00 Marcus Denker <marcus.denker@inria.fr>:
Does this happen, too, when you turn off AST based highlighting?
Yes, I think this is an issue on rubric.
50064 15605 Update Rubric
Now with a bug report: 15663 <https://pharo.fogbugz.com/default.asp?15663> styling in spotter preview broken
I think some changes in rubric are responsible but I am not sure, because I cannot debug spotters preview. ( #haltOnce is cleared without opening the debugger!)
On 30 May 2015, at 12:55, Nicolai Hess <nicolaihess@web.de> wrote:
since 50064 some methods lost syntaxhighlight when previewed in spotter. This does not happens for all methods (but most of them) and I can not see a pattern. Styling is lost on short and or long methods