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

Pausing execution does not work

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->posix/artifacts/gnucobol-3.2-dev-MinGW-binaries%20(debug).zip?>job=Environment:%20BUILD_TYPE=MSYS,%20BUILD_BIN=C:%5CMinGW%5Cmsys%5C1.0%5Cbin)](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:\MinGW\msys\1.0\bin

I try pausing my program when he is sleeping, i try PAUSE and F6 key on my keyboard but nothing happen.

@OlegKunitsyn Can you look at it ?

Reultor avatar Jun 02 '22 09:06 Reultor