Skip to main content

[Migrated content. Thread originally posted on 03 January 2012]

Hello,
With ServerExpress 5 under Linux RHEL5 :

How can you debug with animate a program who is calling C routines previously linked in a new runtime.
Anim tells it cannot find the functions called - they are in the runtime but animate has no info about it.
Is it possible to create a new anim like we can create a new run time ?

I thank you,

regards,

Alain

[Migrated content. Thread originally posted on 03 January 2012]

Hello,
With ServerExpress 5 under Linux RHEL5 :

How can you debug with animate a program who is calling C routines previously linked in a new runtime.
Anim tells it cannot find the functions called - they are in the runtime but animate has no info about it.
Is it possible to create a new anim like we can create a new run time ?

I thank you,

regards,

Alain
Can you please clarify exactly what it is that you are trying to do?

If I understand correctly you have created a new COBOL run-time and have linked your own C modules to this run-time, is this correct?

When you are not debugging, the program calls the C entry points and they are resolved withoput an issue, is this correct?

When you are animating you can step through the program but when it calls the C entry points an error occurs, is this correct?

What exact error is occurring while debugging?

Are you sure that the animator is loading your modified version of the run-time and it isn't picking up the original version somewhere else?

Thanks.

[Migrated content. Thread originally posted on 03 January 2012]

Hello,
With ServerExpress 5 under Linux RHEL5 :

How can you debug with animate a program who is calling C routines previously linked in a new runtime.
Anim tells it cannot find the functions called - they are in the runtime but animate has no info about it.
Is it possible to create a new anim like we can create a new run time ?

I thank you,

regards,

Alain
First of all, thank you for your answer.

Chris Glazier originally wrote:
If I understand correctly you have created a new COBOL run-time and have linked your own C modules to this run-time, is this correct?
Yes!
When you are not debugging, the program calls the C entry points and they are resolved without an issue, is this correct?
Yes!
When you are animating you can step through the program but when it calls the C entry points an error occurs, is this correct?
Yes!
What exact error is occurring while debugging?

Can't find the C function I am calling
Are you sure that the animator is loading your modified version of the run-time and it isn't picking up the original version somewhere else?

I am not sure at all!
In fact, this is my question. How can I integrate the new runtime with the animator.

Best regards and thanks again.

[Migrated content. Thread originally posted on 03 January 2012]

Hello,
With ServerExpress 5 under Linux RHEL5 :

How can you debug with animate a program who is calling C routines previously linked in a new runtime.
Anim tells it cannot find the functions called - they are in the runtime but animate has no info about it.
Is it possible to create a new anim like we can create a new run time ?

I thank you,

regards,

Alain
The following information came from one of our Server Express engineers:

Under such conditions, animator can be invoked by any of these methods:

• CBL_DEBUGBREAK
• Cross-session animation
• Unsolicited Dynamic Attachment
• COBSW= A

Of these methods, I recommend Cross-session first, followed by COBSW= A.

Here is a documentation reference you can pass on to the customer:

Start here:

Then BookShelf-> Using Server Express -> Debugging Guide -> Debugging Methods -> Starting Animator


[Migrated content. Thread originally posted on 03 January 2012]

Hello,
With ServerExpress 5 under Linux RHEL5 :

How can you debug with animate a program who is calling C routines previously linked in a new runtime.
Anim tells it cannot find the functions called - they are in the runtime but animate has no info about it.
Is it possible to create a new anim like we can create a new run time ?

I thank you,

regards,

Alain
Thanks a lot.
Regards.