[Openroad-users] Debugging App Server
Martin Pomej
martin.pomej at myworkplace.com.au
Fri Nov 17 17:40:52 EST 2006
Hi Kim,
Therefore do you have to remove 'DefineBPM' statements and the b_osca
parameter when calling the SCP?
Or is it as simple as making the type = RP_LOCAL, including the ASA
application and hitting the 'Go' button?
I ask the above as I've changed the type to RP_LOCAL and getting the
following error:
Fatal error: (-501) uc_osca.Validate: A Context Id has not been
allocated
uc_stob_mgr.GetNextStobId: STOB manager has not been initialised in
thisapplication
Regards,
Martin.
_____
From: Kim Ginnerup [mailto:kgi at bording.dk]
Sent: Friday, 17 November 2006 17:11
To: martin.pomej at myworkplace.com.au; International OpenROAD Users
Subject: SV: [Openroad-users] Debugging App Server
What you can do is to database include the appserver in a client app.
Set the type to RP_LOCAL.
When you use RP_LOCAL, all call4gl statement are done as normal callproc,
Now you can debug it as a normal app.
If you do not have a client then just make one, it only cost you a procedure
and a few lines of code.
I find it a better solution to build an external client than changing the
apsserver code, youll never know what you brake,
Or what you leave behind after the test.
Kim
_____
Fra: openroad-users-bounces at peerlessit.com
[mailto:openroad-users-bounces at peerlessit.com] På vegne af Martin Pomej
Sendt: 17. november 2006 03:22
Til: OpenROAD Users
Emne: [Openroad-users] Debugging App Server
Hello OR world,
When using the RemoteServer.Initiate method the documentation states the
following re the type parameter:
The RP_LOCAL type is useful for development and debugging. When initiated
in RP_LOCAL mode, all Call4GL calls on the RemoteServer object are forwarded
to a local instance of the named 4GL procedure (within the current
application or
its included applications) and not sent to an Application Server.
Does this mean that I can use the debugger and step through the code on the
App Server end?
I've set the type to RP_LOCAL and nothing appears to be different.
Currently when I have a logic bug I have to set about a million trace
messages all through the method(s) that are involved to 'see' what is
happening and this is extremely painful.
Am I debugging App Server the hard way, or is it just the way things are?
Any light shed on this would be much appreciated.
Regards,
Martin Pomej
MyWorkplace Solutions Pty Ltd
Ph: 1300 733 731
Mob: 0414 230 845
Em: martin.pomej at myworkplace.com.au
Making Service our Priority
<http://www.myworkplace.com.au/> www.myworkplace.com.au
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://peerlessit.com/pipermail/openroad-users/attachments/20061117/eb71853d/attachment.html
More information about the Openroad-users
mailing list