Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 1.24 KB

FAQ.md

File metadata and controls

40 lines (24 loc) · 1.24 KB

####1. How do I debug an error that appears in the web server?

While using a webServer gem, errors in the Seaside code will not result in a walkback window popping up. Instead the default error handler snaps off a continuation and puts it into the Object Log.

For example, if there is an error in your Seaside code like the following error inserted into the Counter example:

wacounter code

you will get an error that looks like this when you click on the ++ link in the browser:

counter error

to debug the error, you open the object log using the following tODE command:

ol view --age=`30 minutes` error

and you'll get an object log viewer. Select the -- continuation -- and use the debug continuation menu item:

debug continuation

to open a debugger on the continuation:

continuation debugger

When you are debugging a continuation, you cannot step or continuation, but other than that you have a fully functional debugger.

COMMENTS