Debugging Spotter previews in Pharo 4

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Debugging Spotter previews in Pharo 4

Torsten Bergmann
Just wanted to share in case someone has the same problem:

In Pharo4.0 Latest update: #40617 when one puts a #halt into a
<spotterPreview:> tagged method nothing happens. No debugger - nothing.
Also no output on the Transcript.

One can fix this easily in GTSpotterPreviewBrick>>updatePreviewWith: by
replacing Exception with Error.

Would be nice if this could be integrated as a backport in
Pharo 4.0 somehow.

Thx
T.

Reply | Threaded
Open this post in threaded view
|

Re: Debugging Spotter previews in Pharo 4

Andrei Chis
There is a better fix that also catches and logs Errors. https://pharo.fogbugz.com/f/cases/15772/spotter-is-undebuggable

I'll make an issue to back port it to pharo 4

Cheers,
Andrei

On Thu, Jul 9, 2015 at 10:16 AM, Torsten Bergmann <[hidden email]> wrote:
Just wanted to share in case someone has the same problem:

In Pharo4.0 Latest update: #40617 when one puts a #halt into a
<spotterPreview:> tagged method nothing happens. No debugger - nothing.
Also no output on the Transcript.

One can fix this easily in GTSpotterPreviewBrick>>updatePreviewWith: by
replacing Exception with Error.

Would be nice if this could be integrated as a backport in
Pharo 4.0 somehow.

Thx
T.


Reply | Threaded
Open this post in threaded view
|

Re: Debugging Spotter previews in Pharo 4

Andrei Chis

On Thu, Jul 9, 2015 at 10:32 AM, Andrei Chis <[hidden email]> wrote:
There is a better fix that also catches and logs Errors. https://pharo.fogbugz.com/f/cases/15772/spotter-is-undebuggable

I'll make an issue to back port it to pharo 4

Cheers,
Andrei

On Thu, Jul 9, 2015 at 10:16 AM, Torsten Bergmann <[hidden email]> wrote:
Just wanted to share in case someone has the same problem:

In Pharo4.0 Latest update: #40617 when one puts a #halt into a
<spotterPreview:> tagged method nothing happens. No debugger - nothing.
Also no output on the Transcript.

One can fix this easily in GTSpotterPreviewBrick>>updatePreviewWith: by
replacing Exception with Error.

Would be nice if this could be integrated as a backport in
Pharo 4.0 somehow.

Thx
T.