gnucobol-debug icon indicating copy to clipboard operation
gnucobol-debug copied to clipboard

Debugging in local doesn't work well

Open Reultor opened this issue 2 years ago • 0 comments

Hi,

From https://github.com/OlegKunitsyn/gnucobol-debug/issues/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 ?

Reultor avatar Jun 02 '22 14:06 Reultor