Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugging in local doesn't work well #125

Open
Reultor opened this issue Jun 2, 2022 · 0 comments
Open

Debugging in local doesn't work well #125

Reultor opened this issue Jun 2, 2022 · 0 comments

Comments

@Reultor
Copy link

Reultor commented Jun 2, 2022

Hi,

From #123 experimenting

program "essai.cbl" :

   IDENTIFICATION DIVISION.                                                 
   PROGRAM-ID.  X51013T.                                                    
   AUTHOR.         Enregistrement signature compl.                          
   DATE-COMPILED.   30/06/21.                                               
   ENVIRONMENT DIVISION.                                                    
   CONFIGURATION SECTION.                                                   
   SOURCE-COMPUTER. IBM-370.                                                
   OBJECT-COMPUTER. IBM-370.                                                
   SPECIAL-NAMES.                                                           
          DECIMAL-POINT IS COMMA.                                           
   DATA DIVISION.                                                           
   WORKING-STORAGE SECTION.
   LINKAGE SECTION.                                                
   PROCEDURE DIVISION.                                           
   ENTREE-PROGRAMME.   
       CONTINUE AFTER 10 SECONDS                                                     
       PERFORM DEBUT-PROGRAMME                                                                                              
       .
   DEBUT-PROGRAMME.
       DISPLAY 'HELLO WORLD'
       .    

launch.json :

{
    "version": "0.2.0",
    "configurations": 
    [
        {
            "name": "COBOL debugger launch",
            "type": "gdb",
            "request": "launch",
            "cobcargs": ["-x"], 
            "cwd":"D:/testCobol",
            "target": "D:/testCobol/essai.cbl",
            "verbose": true,
        }
    ]
}

My GNUCOBOL is here :

https://ci.appveyor.com/api/projects/GitMensch/gnucobol-3-x-win32-%3Eposix/artifacts/gnucobol-3.2-dev-MinGW-binaries%20(debug).zip?%3Ejob=Environment:%20BUILD_TYPE=MSYS,%20BUILD_BIN=C:%5CMinGW%5Cmsys%5C1.0%5Cbin)%5D(https://ci.appveyor.com/api/projects/GitMensch/gnucobol-3-x-win32-posix/artifacts/gnucobol-3.2-dev-MinGW-binaries%20(debug).zip?job=Environment:%20BUILD_TYPE=MSYS,%20BUILD_BIN=C:%5CMinGW%5Cmsys%5C1.0%5Cbin

See WithCbl.txt for console output

Try to debug my program but nothing happen when i launch debug, @OlegKunitsyn Can you look at it ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant