Main Page | Report Page

 

  Computers Forum Index » Computer Languages (Cobol) » Opensource cobol debugger for opencobol...written in...

Author Message
federico priolo...
Posted: Fri Apr 02, 2010 9:09 pm
 
Hi all,

I am trying the Opencobol compiler. (www.opencobol.org) I think it's
very robust and strong cobol compiler. Unfortunately not (yet) object
oriented nevertheless very good product for use cobol with unix and
windows systems.

I have written a cobol debugger suitable with that cobol, written with
it, and available with open source license.

Actually it allows visual code, breakpoints... global (conditional)
breakpoints and animate features.

We are planning to give it other features (gui interface,remote
debugger...ect.ect)

If you like to take it, please, visit my company site at www.tp-srl.it
(there you can find some information about it and to get the last
version from sourceforge.net ).

Other information can be obtained from www.opencobol.org where usually
I am posting and I receiving comments and advices.

Thank you so much for your attention

Federico
Italy

priolofATtp-srlDOT.it
 
Daniel...
Posted: Sat Apr 10, 2010 5:10 am
 
Hello

I tried but found many errors with version OpenCobol 1.0.0 under cygwin

$ cobc -version
cobc (OpenCOBOL) 1.0.0
Copyright (C) 2001-2007 Keisuke Nishida
Copyright (C) 2007 Roger While
]0;/tmp/debugger

hsotomayor at (no spam) NAL9HSDVG1 /tmp/debugger

$ bash L -x LCOMPILE.sh
+ clear
+ dos2unix ANIMATE.CBL ANIMATE.INF ANIMATOR.CBL ANIMATOR.HTM
ANIMATOR.INF ANIMATOR.TXT ANIMDATA.CBL COMPILE.BAT COPYING.DOC HISTORY.LOG
LCOMPILE.BAT LCOMPILE.sh PROCANIM.CPY SCREENIO.CPY WORKANIM.CPY salida.txt
ANIMATE.CBL: done.
ANIMATE.INF: done.
ANIMATOR.CBL: done.
ANIMATOR.HTM: done.
ANIMATOR.INF: done.
ANIMATOR.TXT: done.
ANIMDATA.CBL: done.
COMPILE.BAT: done.
COPYING.DOC: done.
HISTORY.LOG: done.
LCOMPILE.BAT: done.
LCOMPILE.sh: done.
PROCANIM.CPY: done.
SCREENIO.CPY: done.
WORKANIM.CPY: done.
salida.txt: done.
+ mv ANIMATE.CBL animate.cbl
+ sed -e 's/.\/TEMP/.\/temp/' ANIMATE.INF
+ rm ANIMATE.INF
+ mv ANIMATOR.CBL animator.cbl
+ mv ANIMATOR.HTM animator.htm
+ mv ANIMATOR.INF animator.inf
+ mv ANIMATOR.TXT animator.txt
+ mv ANIMDATA.CBL animdata.cbl
+ mv COPYING.DOC copying.doc
+ mv HISTORY.LOG history.log
+ mv PROCANIF.CPY procanif.cpy
mv: cannot stat `PROCANIF.CPY': No such file or directory
+ mv PROCANIM.CPY procanim.cpy
+ mv SCREENIO.CPY screenio.cpy
+ mv WORKANIF.CPY workanif.cpy
mv: cannot stat `WORKANIF.CPY': No such file or directory
+ mv WORKANIM.CPY workanim.cpy
+ mkdir temp
+ cobc -x -v -Wall -save-temps animator.cbl
preprocessing animator.cbl into animator.i
animator.cbl:1184: Warning: File not terminated by a newline
translating animator.i into animator.c
animator.cbl:95: Warning: 'GLOBAL' not implemented
animator.cbl: In paragraph 'COMPILA':
animator.cbl:254: Warning: IF statement not terminated by END-IF
animator.cbl:269: Warning: IF statement not terminated by END-IF
animator.cbl:281: Warning: IF statement not terminated by END-IF
animator.cbl:289: Warning: IF statement not terminated by END-IF
animator.cbl:291: Warning: IF statement not terminated by END-IF
animator.cbl: In section 'ELABORA':
animator.cbl:306: Warning: READ statement not terminated by END-READ
animator.cbl:312: Warning: IF statement not terminated by END-IF
animator.cbl:351: Warning: IF statement not terminated by END-IF
animator.cbl: In paragraph 'TRATTA':
animator.cbl:362: Warning: IF statement not terminated by END-IF
animator.cbl:369: Warning: IF statement not terminated by END-IF
animator.cbl:378: Warning: IF statement not terminated by END-IF
animator.cbl:383: Warning: IF statement not terminated by END-IF
animator.cbl:387: Warning: IF statement not terminated by END-IF
animator.cbl: In paragraph 'FINE-TRATTA':
animator.cbl:494: Warning: IF statement not terminated by END-IF
animator.cbl:501: Warning: IF statement not terminated by END-IF
animator.cbl: In paragraph 'SCRITTURA-OUT':
animator.cbl:515: Warning: IF statement not terminated by END-IF
animator.cbl: In paragraph 'SCRITTURA':
animator.cbl:530: Warning: IF statement not terminated by END-IF
animator.cbl:534: Warning: IF statement not terminated by END-IF
animator.cbl:536: Warning: IF statement not terminated by END-IF
animator.cbl:542: Warning: IF statement not terminated by END-IF
animator.cbl:551: Warning: WRITE statement not terminated by END-WRITE
animator.cbl: In section 'APERTURE':
animator.cbl:573: Warning: IF statement not terminated by END-IF
animator.cbl:615: Warning: IF statement not terminated by END-IF
animator.cbl:665: Warning: IF statement not terminated by END-IF
animator.cbl: In paragraph 'READ-NEXT-DO':
animator.cbl:698: Warning: READ statement not terminated by END-READ
animator.cbl:701: Warning: IF statement not terminated by END-IF
animator.cbl:705: Warning: IF statement not terminated by END-IF
animator.cbl:707: Warning: IF statement not terminated by END-IF
animator.cbl: In paragraph 'CERCA-DO':
animator.cbl:740: Warning: IF statement not terminated by END-IF
animator.cbl: In paragraph 'MANUALE':
animator.cbl:821: Warning: IF statement not terminated by END-IF
animator.cbl: In paragraph 'CARICA-VAR':
animator.cbl:840: Warning: IF statement not terminated by END-IF
animator.cbl: In paragraph 'CICLO-CARICA-VAR':
animator.cbl:871: Warning: READ statement not terminated by END-READ
animator.cbl:875: Warning: IF statement not terminated by END-IF
animator.cbl:880: Warning: IF statement not terminated by END-IF
animator.cbl:883: Warning: IF statement not terminated by END-IF
animator.cbl:888: Warning: IF statement not terminated by END-IF
animator.cbl:893: Warning: IF statement not terminated by END-IF
animator.cbl:898: Warning: IF statement not terminated by END-IF
animator.cbl:907: Warning: IF statement not terminated by END-IF
animator.cbl:912: Warning: IF statement not terminated by END-IF
animator.cbl:916: Warning: IF statement not terminated by END-IF
animator.cbl:921: Warning: IF statement not terminated by END-IF
animator.cbl:922: Warning: IF statement not terminated by END-IF
animator.cbl:926: Warning: IF statement not terminated by END-IF
animator.cbl:936: Warning: IF statement not terminated by END-IF
animator.cbl:942: Warning: IF statement not terminated by END-IF
animator.cbl: In paragraph 'INIZIO-ACCEPT':
animator.cbl:949: Warning: IF statement not terminated by END-IF
animator.cbl:1008: Warning: WRITE statement not terminated by END-WRITE
animator.cbl: In paragraph 'OPZIONI':
animator.cbl:1117: Warning: IF statement not terminated by END-IF
animator.cbl:1126: Warning: IF statement not terminated by END-IF
animator.cbl:1130: Warning: IF statement not terminated by END-IF
animator.cbl: In paragraph 'OPZIONI-ANIMATOR':
animator.cbl:1152: Warning: IF statement not terminated by END-IF
gcc -pipe -c -I/usr/local/include -O2 -Wno-unused -fsigned-char -o
animator.o animator.c
gcc -pipe -Wl,--export-all-symbols -Wl,--enable-auto-import -o animator
animator.o -L/usr/local/lib -lcob -lm -lgmp -lintl -lncurses -ldb
+ cobc -v -Wall -save-temps animate.cbl
preprocessing animate.cbl into animate.i
screenio.cpy:89: Warning: File not terminated by a newline
animate.cbl:1004: Warning: File not terminated by a newline
translating animate.i into animate.c
animate.cbl:73: Warning: 'GLOBAL' not implemented
animate.cbl: In paragraph 'INIZIO-LOG':
animate.cbl:372: Warning: IF statement not terminated by END-IF
animate.cbl:381: Warning: IF statement not terminated by END-IF
animate.cbl:388: Warning: READ statement not terminated by END-READ
animate.cbl:391: Warning: IF statement not terminated by END-IF
animate.cbl:396: Warning: IF statement not terminated by END-IF
animate.cbl:403: Warning: IF statement not terminated by END-IF
animate.cbl:416: Error: syntax error, unexpected WORD
animate.cbl:423: Warning: IF statement not terminated by END-IF
animate.cbl:428: Warning: IF statement not terminated by END-IF
animate.cbl:436: Warning: IF statement not terminated by END-IF
animate.cbl:443: Warning: IF statement not terminated by END-IF
animate.cbl:447: Warning: IF statement not terminated by END-IF
animate.cbl:452: Error: 'COB-CRT-STATUS' undefined
animate.cbl:452: Warning: IF statement not terminated by END-IF
animate.cbl:458: Error: 'COB-CRT-STATUS' undefined
animate.cbl:458: Warning: IF statement not terminated by END-IF
animate.cbl:464: Error: 'COB-CRT-STATUS' undefined
animate.cbl:464: Warning: IF statement not terminated by END-IF
animate.cbl:469: Error: 'COB-CRT-STATUS' undefined
animate.cbl:469: Warning: IF statement not terminated by END-IF
animate.cbl:475: Warning: IF statement not terminated by END-IF
animate.cbl:479: Warning: IF statement not terminated by END-IF
animate.cbl:480: Warning: IF statement not terminated by END-IF
animate.cbl:481: Warning: IF statement not terminated by END-IF
animate.cbl:482: Warning: IF statement not terminated by END-IF
animate.cbl:483: Warning: IF statement not terminated by END-IF
animate.cbl: In paragraph 'END-ESEGUI':
animate.cbl:492: Warning: START statement not terminated by END-START
animate.cbl:517: Warning: EVALUATE statement not terminated by END-EVALUATE
animate.cbl: In paragraph 'VIS-BREAK':
animate.cbl:600: Error: syntax error, unexpected POSITION
animate.cbl:607: Error: PERFORM statement not terminated by END-PERFORM
animate.cbl:608: Error: syntax error, unexpected POSITION
animate.cbl:618: Error: syntax error, unexpected POSITION
animate.cbl:623: Error: syntax error, unexpected POSITION
animate.cbl:628: Error: syntax error, unexpected POSITION
animate.cbl:632: Error: syntax error, unexpected POSITION
animate.cbl:637: Error: syntax error, unexpected POSITION
animate.cbl:641: Error: syntax error, unexpected POSITION
animate.cbl:646: Error: syntax error, unexpected POSITION
animate.cbl:650: Error: syntax error, unexpected POSITION
animate.cbl:655: Error: syntax error, unexpected POSITION
animate.cbl:659: Error: syntax error, unexpected POSITION
animate.cbl: In paragraph 'PAGINA':
animate.cbl:697: Warning: START statement not terminated by END-START
animate.cbl: In paragraph 'CICLO-ESEGUI':
animate.cbl:702: Warning: READ statement not terminated by END-READ
animate.cbl:704: Warning: IF statement not terminated by END-IF
animate.cbl:706: Warning: IF statement not terminated by END-IF
animate.cbl:716: Warning: IF statement not terminated by END-IF
animate.cbl:725: Error: 'COB-CRT-STATUS' undefined
animate.cbl:729: Error: Invalid expression
animate.cbl:729: Error: Invalid expression
animate.cbl:729: Error: Invalid expression
animate.cbl:722: Warning: IF statement not terminated by END-IF
animate.cbl: In paragraph 'VIS-LINE':
animate.cbl:773: Error: syntax error, unexpected WORD, expecting LITERAL
animate.cbl:789: Error: syntax error, unexpected WORD, expecting LITERAL
animate.cbl:888: Warning: IF statement not terminated by END-IF
animate.cbl: In paragraph 'EX-VIS-COMANDI':
animate.cbl:222: Error: 'CERCA-DO' undefined
animate.cbl:421: Error: 'EX-VIS-LINE' undefined
animate.cbl:741: Error: 'EX-VIS-LINE' undefined
animate.cbl:901: Error: 'READ-NEXT-DO' undefined
animate.cbl:901: Error: 'EX-READ-NEXT-DO' undefined
+ cobc -v -Wall -save-temps animdata.cbl
preprocessing animdata.cbl into animdata.i
screenio.cpy:89: Warning: File not terminated by a newline
animdata.cbl:813: Warning: File not terminated by a newline
translating animdata.i into animdata.c
animdata.cbl:57: Warning: 'GLOBAL' not implemented
animdata.cbl: In paragraph 'AC-KEY':
animdata.cbl:182: Warning: IF statement not terminated by END-IF
animdata.cbl:197: Error: 'COB-CRT-STATUS' undefined
animdata.cbl:195: Warning: IF statement not terminated by END-IF
animdata.cbl:201: Error: 'COB-CRT-STATUS' undefined
animdata.cbl:203: Error: 'COB-CRT-STATUS' undefined
animdata.cbl:201: Warning: IF statement not terminated by END-IF
animdata.cbl:206: Error: 'COB-CRT-STATUS' undefined
animdata.cbl:206: Warning: IF statement not terminated by END-IF
animdata.cbl:213: Warning: IF statement not terminated by END-IF
animdata.cbl:218: Error: 'COB-CRT-STATUS' undefined
animdata.cbl:218: Warning: IF statement not terminated by END-IF
animdata.cbl:226: Error: 'COB-CRT-STATUS' undefined
animdata.cbl:225: Warning: IF statement not terminated by END-IF
animdata.cbl:231: Warning: IF statement not terminated by END-IF
animdata.cbl: In paragraph 'LISTA-FIELD':
animdata.cbl:280: Warning: START statement not terminated by END-START
animdata.cbl: In paragraph 'AC-LISTA':
animdata.cbl:341: Warning: IF statement not terminated by END-IF
animdata.cbl:357: Error: 'COB-CRT-STATUS' undefined
animdata.cbl:361: Error: 'COB-CRT-STATUS' undefined
animdata.cbl:365: Error: 'COB-CRT-STATUS' undefined
animdata.cbl:370: Error: 'COB-CRT-STATUS' undefined
animdata.cbl: In paragraph 'LETTURA':
animdata.cbl:390: Warning: READ statement not terminated by END-READ
animdata.cbl: In paragraph 'VEDI-HEX':
animdata.cbl:445: Warning: IF statement not terminated by END-IF
animdata.cbl: In paragraph 'CERCA-DO':
animdata.cbl:586: Warning: IF statement not terminated by END-IF
animdata.cbl: In paragraph 'READ-NEXT-DO':
animdata.cbl:632: Warning: READ statement not terminated by END-READ
animdata.cbl:635: Warning: IF statement not terminated by END-IF
animdata.cbl:637: Warning: IF statement not terminated by END-IF
animdata.cbl:639: Warning: IF statement not terminated by END-IF
animdata.cbl: In paragraph 'REMOVE-BREAK':
animdata.cbl:648: Warning: START statement not terminated by END-START
animdata.cbl: In paragraph 'INIZIO':
animdata.cbl:730: Warning: IF statement not terminated by END-IF
animdata.cbl:733: Warning: IF statement not terminated by END-IF

Thanks!!


"federico priolo" <federico.priolo at (no spam) gmail.com> escribió en el mensaje
news:e1e99853-83c9-4463-b990-7f3dc57b105d at (no spam) q15g2000yqj.googlegroups.com...
Quote:
Hi all,

I am trying the Opencobol compiler. (www.opencobol.org) I think it's
very robust and strong cobol compiler. Unfortunately not (yet) object
oriented nevertheless very good product for use cobol with unix and
windows systems.

I have written a cobol debugger suitable with that cobol, written with
it, and available with open source license.

Actually it allows visual code, breakpoints... global (conditional)
breakpoints and animate features.

We are planning to give it other features (gui interface,remote
debugger...ect.ect)

If you like to take it, please, visit my company site at www.tp-srl.it
(there you can find some information about it and to get the last
version from sourceforge.net ).

Other information can be obtained from www.opencobol.org where usually
I am posting and I receiving comments and advices.

Thank you so much for your attention

Federico
Italy

priolofATtp-srlDOT.it







--- news://freenews.netfront.net/ - complaints: news at (no spam) netfront.net ---
 
Davide Grandi...
Posted: Sat Apr 10, 2010 9:44 am
 
Daniel <daniel at (no spam) hotmail.kom> wrote:

Quote:
I tried but found many errors with version OpenCobol 1.0.0 under cygwin

It seems that ("compilatore opencobol 1.1 su Windows") it require
version 1.1.

best regards,

Davide Grandi
--
Ing. Davide Grandi
davide.grandi at (no spam) mclink.it
 
Vince Coen...
Posted: Sun Apr 11, 2010 6:05 pm
 
Hello Daniel!

10 Apr 10 02:10, Daniel wrote to All:

Quote:
Hello

I tried but found many errors with version OpenCobol 1.0.0 under
cygwin

Use the latest version which is v1.1 as v1.0 is very old.


Vince
 
federico...
Posted: Mon Apr 12, 2010 8:55 pm
 
Yes like also Ing. Davide Grandi told the debugger was written by
using only opencobol 1.1.

I started to write at 13th March and I have upload the last version
with 0.1.6

I tried it only with the windows environment but I know that other are
using it with Fedora, Ubunto ect.ect.

I also tried to compile it with 1.0 version but more of the mistakes
it issues are from the compiler and not from the cobol source. So I
left unchanged it you need only to compile it with the appropriate
compiler version.

Maybe for using it with unix you should have change some few things..
but if you will look at opencobol.org forum you will find some about
this.

Last version I uploaded uses list to choose variable (from a list) and
the global conditional break point (useful to perform the slicing..and
other debug techniques)


Actually I am working to move it to a gui interface and to manage the
remote debugging...

Thanks for your attention

Federico Priolo
 
Pete Dashwood...
Posted: Tue Apr 13, 2010 4:20 pm
 
federico wrote:
Quote:
Yes like also Ing. Davide Grandi told the debugger was written by
using only opencobol 1.1.

I started to write at 13th March and I have upload the last version
with 0.1.6

I tried it only with the windows environment but I know that other are
using it with Fedora, Ubunto ect.ect.

I also tried to compile it with 1.0 version but more of the mistakes
it issues are from the compiler and not from the cobol source. So I
left unchanged it you need only to compile it with the appropriate
compiler version.

Maybe for using it with unix you should have change some few things..
but if you will look at opencobol.org forum you will find some about
this.

Last version I uploaded uses list to choose variable (from a list) and
the global conditional break point (useful to perform the slicing..and
other debug techniques)


Actually I am working to move it to a gui interface and to manage the
remote debugging...

Good for you, Frederico!

Good luck with your endeavour.

Pete.
--
"I used to write COBOL...now I can do anything."
 
 
Page 1 of 1    
All times are GMT
The time now is Mon Apr 21, 2014 5:52 am