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 dump:(. 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?

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?

Thanks for answering.

Actually my cobol programs are .cbl :slight_smile:

The compiler's name is "cobol".

thanks.