Release 10.1A: OpenEdge Application Server:
Developing AppServer Applications

> ## Remote debugging

> In remote debugging, the Debugger runs in such a way that it has direct access to the 4GL code in an AppServer session, by-passing any client code completely. Remote debugging is the only debugging mode that you can use to debug remote procedures that are:

> - Executed by an Open Client (non-4GL) or Web service client application.

> - Executed asynchronously in a Progress 4GL client application.

> This mode restricts your debugging activities to debugging only AppServer configurations and remote application procedures; you cannot debug any procedure in the client application session. It allows you to debug application code running on an AppServer agent independently of the calling client application.

> For example, an engineer who has developed a set of AppServer procedures does not have to examine the client code that his AppServer code will eventually support. When he is ready to debug his work, he only needs to examine his own code. In this situation, remote debugging is the ideal choice. When he debugs his code using this mode, he sees only his code on the AppServer agent.

> In this debugging mode, the client application driving the AppServer agent is unaware that the Debugger process is running on the AppServer agent. That is, the procedure call stack only reveals entries up to the top level remote procedure call. It does not reveal anything about the client application.

> If the AppServer agent where the engineer has developed his code calls remote procedures on other AppServer agents, he can debug these other remote procedures using distributed debugging, as a client of the other AppServer (see the "Distributed debugging" section).

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095