[Seaside][VW] Porting 2.6a2 - WAWalkbackErrorHandler>>handleError:
avi.bryant at gmail.com
Fri Jan 13 10:03:55 CET 2006
On Jan 12, 2006, at 6:21 AM, Bany, Michel wrote:
> Hello everybody,
> I am currently working at porting 2.6a2 to VW.
> Et ce n'est pas de la tarte, i.e. not a piece of cake in french.
> There is something in WAWalkbackErrorHandler >> handleError:
> that is not portable.
> This code would be better placed in the SeasidePlatformSupport
> class with an intention-revealing selector. However I do not
> understand what the intention is.
> If the author recognizes herself/himself, please let me know
> what the intention was and suggest an intention-revealing
> selector for that code.
I think the part you're objecting to is a possibly misguided attempt
to prevent the UI thrashing that occurs, generally, when you open a
debugger window from some process other than the UI process. I say
misguided because although I've tried many solutions to this problem,
I've never been able to convince myself that any of them actually do
anything. At any rate, it should definitely be moved to
SeasidePlatformSupport (if not removed entirely).
Sorry for leaving it in there; suffice it to say that said thrashing
can be extremely frustrating, and not leave me in the right state of
mind to produce elegant solutions.
As Lukas indicated, I don't think you should try to duplicate it for
VW; just open a debugger in the normal way.
More information about the Seaside