Breakpoints in Seaside

VA Smalltalk is a "100% VisualAge compatible" IDE that includes the original VisualAge technology and the popular VA Assist and WidgetKit add-ons.

Moderators: Eric Clayberg, wembley, tc, Diane Engles, solveig

Breakpoints in Seaside

Postby PhotonDemon » Wed Dec 10, 2008 3:35 pm

I set a breakpoint in a #renderContentOn: method that does not fire. I know the method is run by the results in the web browser but no breakpoint? Is there something to turn on that allows the breakpoint to stop execution so I can see what is happening? Thanks in advance.

Lou
Louis LaBrunda
Keystone Software Corp.
SkypeMe callto://PhotonDemon
mailto:Lou@Keystone-Software.com http://www.Keystone-Software.com
PhotonDemon
[|]
 
Posts: 176
Joined: Thu Dec 20, 2007 1:45 pm

Re: Breakpoints in Seaside

Postby a3aan » Thu Dec 11, 2008 1:58 am

Lou,

As you might know Seaside has configurable exception handling. Go to http://localhost:8788/seaside/config to configure your application. Override the default exception handler with WADebugErrorHandler.

In addition, you might need to disable SST exception trapping and forwarding in Transcript/Tools/SST.

hth,
Adriaan.
Adriaan van Os
a3aan
[|]
 
Posts: 45
Joined: Fri May 25, 2007 1:41 am

Re: Breakpoints in Seaside

Postby PhotonDemon » Thu Dec 11, 2008 7:50 am

HI Adriaan,

Thanks for the reply. Unfortunately, saving the setting change results in a debug window with:
snip...
self resumable ifFalse: [self error: MxKRN19]. "$NLS$ Exception is not resumable"
snip...

I have already reported a similar problem with the sushiNet store example. Also, after changing the setting to WADebugErrorHandler and the resulting error, the examples are broken.

Note to VA V8 Beta1 development guys, since this problem looks like the one I reported with the store example, and therefore probably has the same cause, I won't report it again unless you want me to.

Lou
Louis LaBrunda
Keystone Software Corp.
SkypeMe callto://PhotonDemon
mailto:Lou@Keystone-Software.com http://www.Keystone-Software.com
PhotonDemon
[|]
 
Posts: 176
Joined: Thu Dec 20, 2007 1:45 pm

Re: Breakpoints in Seaside

Postby a3aan » Thu Dec 11, 2008 8:39 am

Hi Lou,

Just saving the configuration using the Save button works here. Hitting the Close button will cause the issue you described. The latter is the result of a known issue from the readme, being continuations not working yet.

Adriaan.
Adriaan van Os
a3aan
[|]
 
Posts: 45
Joined: Fri May 25, 2007 1:41 am

Re: Breakpoints in Seaside

Postby PhotonDemon » Fri Dec 12, 2008 6:27 am

Hi Adriaan,

I was just about to post to say, that after subsequent attempts, I succeeded in getting the setting changed, when I found your post. I'm sure I clicked on "Save" and not "Close" the first time but who knows? Anyway, it works now, thanks for the help.

Lou
Louis LaBrunda
Keystone Software Corp.
SkypeMe callto://PhotonDemon
mailto:Lou@Keystone-Software.com http://www.Keystone-Software.com
PhotonDemon
[|]
 
Posts: 176
Joined: Thu Dec 20, 2007 1:45 pm


Return to VA Smalltalk 7.0, 7.5 & 8.0

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest