Operating System - OpenVMS
1770696 Members
2819 Online
108999 Solutions
New Discussion

STEP/INTO a subroutine that is dynamically called.

 
Pontes_F
Visitor

STEP/INTO a subroutine that is dynamically called.

Hi everyone,

Is it possible to use the STEP/INTO debugging command to get in a subroutin ethat is dynamically called? I am gettin the below error

─ PROMPT -error-program-prompt────────────────────────────────────────────────────────────
Displaying source for 1\%PC
%DEBUG-I-SOURCESCOPE, source lines not available for %PC in scope number 0
Displaying source for 1\%PC

It works well if I hardcode the subroutine name.

CALL 'SUB_NAME'    the STEP/INTO works fine

CALL W_SUBROUTINE  The STEP/INTO doesn't work.

Thanks.

 

1 REPLY 1
Steven Schweda
Honored Contributor

Re: STEP/INTO a subroutine that is dynamically called.

> [...] I am gettin the below error [...]

   I do very little with the debugger, so I know nothing, but that
includes what "dynamically called" means to you, and what's behind those
names like SUB_NAME and W_SUBROUTINE.  Show some code?  Or an actual
test case?

   Also, you might get more interest if you provided same basic
information, like, say, hardware type, OS version (patches?), compiler
version, and so on.