EGL Development User Group

EGL Development User Group

EGL Development User Group

The EGL Development User Group is dedicated to sharing news, knowledge, and insights regarding the EGL language and Business Developer product. Consisting of IBMers, HCL, and users, this community collaborates to advance the EGL ecosystem.

 View Only
Expand all | Collapse all

Remote runtime call in EGL debug mode

  • 1.  Remote runtime call in EGL debug mode

    Posted Thu February 05, 2015 02:13 AM

     

    In RBD  EGL Debug mode, we can  mix  the called  programs ( source  level  test and remote runtime  execution )  in one test  run.

    One local RBD 9.0  customer did run this scenario without problem.  

    A new RBD 9.1.1 ( migrated from VAGen )  can't debug  this kind of scenario successfully, in other words all program calls  will

    step into  RBD workspace  source .   I  also fail to debug this scenario in my RBD 9.1.1.

    Any successful  run sharing is welcome.   I will open a PMR if this is product defect.       

     

    dwkey


  • 2.  Re: Remote runtime call in EGL debug mode

    Posted Thu February 05, 2015 07:45 AM

    L.H.,

    The most common reason this is not working is that there is not a Debug Behavior Mapping entry in the EGL Preferences.

    To do a remote call, the first thing that is required is an entry in the Debug Behavior Mapping to specify whether you want to call a program as source or as a generated program.  Then if the entry says to call the generated program, it looks at the linkage table entry to determine where to call it.

    The debug Behavior Mapping Entry is in the Preferences->EGL->Debug->Debug Behavior Mapping.

    In the Debug Behavior Mapping entries, the program name can be a wild card type entry (like the linkage table) (example myp* will match any program starting with myp).   The package name is not required for calls to COBOL. 

    Unlike VAGen, if a developer wants to debug with the source, all they need to do is change the entry.

    Mark

     

    markevans


  • 3.  Re: Remote runtime call in EGL debug mode

    Posted Mon February 09, 2015 01:14 AM

    Mark,

    After confirming with customer,  the exact working scenario is below:

    Runtime Java GUI -->  RBD EGL debug -->   Runtime EGL/Java 

    Java runtime native GUI ( Java Wrapper - remotecomtype=debug )   --->   RBD  EGL  Debug mode

    (debug linkage -- remotecomtype=tcpip )  --->   EGL/Java  server runtime .        

     

    dwkey