On 07 Dec 2015, at 17:17, Mariano Martinez Peck <marianopeck@gmail.com> wrote:
OK Max. In the last version you can find the "likely" final version. It's extremely simple, easy to use, and very very little code. Only one override. All WADynamicVariables subclasses handled automatically. All you need to do is to register the handler:
app filter configuration at: #exceptionHandler put: WAPharoDebuggererErrorHandler.
It works for exceptions and both Halt too. The only limit is only the "last opened debugger" will be correct and all previous will be wrong since they will be using another values for dynamic variables.
I will see if people want to integrate this directly into Seaside.
Very nice! And since you provide a separate error handler itâs easy to integrate into seaside too by simply adding it to the handler chain. Two tiny things: - youâre not using the #reset method you wrote but instead manually assign nil to the variable - I guess the dictionary in the handler could be a SmallDictionary. There wonât be many entries. Thanks a lot for this. Iâll probably port this back to Seaside 2.8 so I can use it too :) Cheers, Max
On Sat, Dec 5, 2015 at 11:36 AM, Max Leske <maxleske@gmail.com <mailto:maxleske@gmail.com>> wrote:
On 05 Dec 2015, at 12:58, Mariano Martinez Peck <marianopeck@gmail.com <mailto:marianopeck@gmail.com>> wrote:
Can you try with the latest version that does not use LPC if it works?
Works perfectly!
-- Mariano http://marianopeck.wordpress.com <http://marianopeck.wordpress.com/>