[Openroad-users] Debugging App Server

Kim Ginnerup kgi at bording.dk
Fri Nov 17 17:11:15 EST 2006


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, you'll 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 
www.myworkplace.com.au <http://www.myworkplace.com.au/>  

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://peerlessit.com/pipermail/openroad-users/attachments/20061117/3b29c4c8/attachment.html 


More information about the Openroad-users mailing list