View previous topic :: View next topic
|
Author |
Message |
candyboy
New User
Joined: 13 Nov 2006 Posts: 10
|
|
|
|
Hi
I am trying to debug for an issue and the problem that I am seeing is that the the call from one module to another one is getting lost. The call from a module A to module B is being made using:
CALL PROCESSOR-PROGRAM USING STORAGE-ADDRESS-POINTERS.
When I put the breakpoint at the start of the called program, the control never reaches there. The STORAGE-ADDRESS-POINTERS contains the location of few data areas.
Let me know what could be causing this kind of behaviour.
Any inputs would be helpful.
Thanks
CB |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
What is the definition and value of PROCESSOR-PROGRAM when the call is executed. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
the call from one module to another one is getting lost. |
Since this cannot happen,
Quote: |
When I put the breakpoint at the start of the called program, the control never reaches there. |
this should tell you exactly what the problem is.
I cannot count the number of times I've been told by a programmer that the problem is occurring at point X in a program -- only to find when actually debugging the code that the problem occurs at point Y instead. They get blinders on, convinced that they know where the problem is, and not paying any attention to what the computer tells them about the real issue. |
|
Back to top |
|
|
|