basic question regarding debugging a remote cobjvm program from eclipse

We are migrating from Server Express 5.1 to Visual COBOL 3.0.  I am trying to get a very basic COBJVM example to debug.

 

The environment is

 

Visual COBOL for express 3.0 on windows 10

Visual COBOL devhub 3.0 on SLES 12.

 

I have created a new remote COBOL project with Java Byte Code target.

 

I have created and compiled a very simple COBOL program   (See end of this post)

 

The program compiles fine, and I can run it by going over to Linux and running cobjrun, but when I try to debug it in eclipse I get the following error

 

                 Could not launch remote project.  Check that the remote server settings are not empty. 

 

the remote server setting is definitely not empty, it shows the correct server.

 

----- program ----

 

       program-id. ap02 as "ap02".
       data division.
       working-storage section.
       procedure division.
           display 'Hello, World'.
           goback.
       end program ap02.
Parents
  • Hello Anthony,

    Thanks for the info about the JDK in use being 32 bit. It may also be helpful to know what which version of 32 bit JDK you are using.

    On Unix platforms, to determine the complete version information (including Patch Updates installed, if any) you can use the following command. This command assumes the product is installed in the default location, change as needed:

          cat /opt/microfocus/VisualCOBOL/etc/cobver

    On Windows, you check the product version by going to Control Panel->Programs and Features, and then look for "Micro Focus Visual COBOL for Eclipse" in the list. To check whether any Patch Updates have been applied, click the "View installed updates" option now shown on the left, and check for entries beginning with "Micro Focus Visual COBOL for Eclipse" - if you don't see any entries like this on the Updates page, then no Patch Updates have been applied to the product.

    Finally, please confirm that in Eclipse, you are using a Debug Configuration of type "COBOL JVM Remote Application". If so, could you attach a screen shot of the Debug Configuration settings you are using? (Please be sure to obscure any server names/IP Addresses, or other sensitive information before attaching.)

    Thanks,
    Blair

Reply
  • Hello Anthony,

    Thanks for the info about the JDK in use being 32 bit. It may also be helpful to know what which version of 32 bit JDK you are using.

    On Unix platforms, to determine the complete version information (including Patch Updates installed, if any) you can use the following command. This command assumes the product is installed in the default location, change as needed:

          cat /opt/microfocus/VisualCOBOL/etc/cobver

    On Windows, you check the product version by going to Control Panel->Programs and Features, and then look for "Micro Focus Visual COBOL for Eclipse" in the list. To check whether any Patch Updates have been applied, click the "View installed updates" option now shown on the left, and check for entries beginning with "Micro Focus Visual COBOL for Eclipse" - if you don't see any entries like this on the Updates page, then no Patch Updates have been applied to the product.

    Finally, please confirm that in Eclipse, you are using a Debug Configuration of type "COBOL JVM Remote Application". If so, could you attach a screen shot of the Debug Configuration settings you are using? (Please be sure to obscure any server names/IP Addresses, or other sensitive information before attaching.)

    Thanks,
    Blair

Children
No Data