How to debug with wdb debugger a cobol program?


 
Thread Tools Search this Thread
Top Forums Programming How to debug with wdb debugger a cobol program?
# 1  
Old 06-11-2008
How to debug with wdb debugger a cobol program?

Hi Forum,
i have such a question.

I have a cobol program which is calling a C program and in that C program
i get a core dumpSmilie. I want to investigate what is the issue using WDB debuger, but a dont see the code from COBOL program in the debuger, when i run the debugger with the exe!!!


Can somebody help me.

i am thinking that maybe i should build the the program with some kind of
option for the linker?
# 2  
Old 06-11-2008
Microfocus COBOL and others actually compile .cob files into the c runtime.

They also exhibit extreme paranoia, IMO, in the sense that it is completely impossible to do what you are asking - there is no way to reverse engineer.

You need to recompile the COBOL code and keep intermediate files meant for the animator, (or whatever your compiler calls it).

What COBOL compiler?
# 3  
Old 06-17-2008
Thanks for answering.

Actually my cobol programs are .cbl Smilie

The compiler's name is "cobol".

thanks.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Can a shell variable be called in a cobol program

Hi All, I have a file which sets all the variables on unix , based on the hostname. Currently these variables are hardcoded in the cobol programs.I was wondering if unix variables can be used in Cobol programs ? Example : I have a variable $SHTEMP which is set based on the following : Prod... (2 Replies)
Discussion started by: nua7
2 Replies

2. Programming

How to use a debugger a piped program ?

Hi, I have 1 program that writes in to the STDIN of another program as shown below. Both programs contain 4 or 5 lines & would terminate in under a second. $ driver.exe | program.exe How is that I can attach the debugger (gdb) to program.exe ? so that I can step through and see what all... (0 Replies)
Discussion started by: RipClaw
0 Replies

3. AIX

Which debugger can i use to debug XL CC compiler build

Hi , I want to know which debugger can I use to debug application built using Xl CC compiler .I know dbx,gdb debuggers just want to find out whether I can use for debugging XL CC compiler generated build. Thanks (1 Reply)
Discussion started by: kittu1979
1 Replies

4. Programming

Seg Fault Running AIX COBOL program

Hi some help read............ I'm getting a segmentation fault when I run an AIX COBOL/Db2 program. I initiate the program from the command line, but it hangs, and then when I press enter it generates a segmantation fault and produces a core dump. The box is running AIX software level ... (5 Replies)
Discussion started by: steve_f
5 Replies

5. Programming

cobol crn programme run on express cobol as .gnt

can i run .crn programme in express cobol which support to .gnt programme .... Plz tell me solution (2 Replies)
Discussion started by: bibi
2 Replies

6. Linux

Where to set program arguments in DDD debugger?

In DDD debugger, where to set the the arguments for main program? For example: ./myExe "argv1" "argv2" -> where to set "argv1" & "argv2" ? Thanks! (2 Replies)
Discussion started by: princelinux
2 Replies

7. Programming

How to debug C source file using GVD debugger

Anyone pls. help !!! I want to debug C source file using GVD debugger. However, I am unable to find the way to debug source files. Thanks in advance (2 Replies)
Discussion started by: argupta
2 Replies

8. Programming

How to debug a C program?

Hi, I need to fix a C program someone wrote 10 years ago and I have very limited knowledge on C. Does someone know how to debug a C program? I am so used to VB debuger. The C program is on Unix SunOs Thanks for your help! (1 Reply)
Discussion started by: whatisthis
1 Replies

9. Programming

wdb debugger

Hi all, is it possible to skip a function with the wdb debugger ? could be helpful instead of compiling the whole bunch again does someone know how to do this ? thx Sven (4 Replies)
Discussion started by: Sven28
4 Replies
Login or Register to Ask a Question