Reputation: 11486
Seaside in Pharo Smalltalk - How do I enable opening the "classic" debugger when an exception occurs?
Right now my WAComponents display an exception error in the webpage viewing the Seaside App. Is it possible to raise in exception in the image itself and have the 'classic' debugger pop up?
Upvotes: 1
Views: 414
Reputation: 2471
Via the Seaside config interface (http://localhost:8080/config/) of your app, go to the 'Filters' section and hit the 'Configure' button for the WAExceptionFilter. Choose WADebugErrorHandler
or WAWalkbackErrorHandler
.
Programmatically:
(WAAdmin defaultDispatcher handlerAt: 'MyApp')
exceptionHandler: WADebugErrorHandler
Upvotes: 4