View previous topic :: View next topic
|
Author |
Message |
ksikdar
New User
Joined: 30 Jun 2006 Posts: 13
|
|
|
|
Hi all,
in xpeditor we can xpedit line by line by pressing F9.
By pressing F9 we will go down line by line .
But if we want to go up line by line from a certain point wat we have to do??? |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
How can you run a program "up"? Can you write such a program that make sense when running bottom to top?
O. |
|
Back to top |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
Hello,
Do you want to Xpedite/debug backwards... if this is what you are looking for I can help you.
Reply back |
|
Back to top |
|
|
ksikdar
New User
Joined: 30 Jun 2006 Posts: 13
|
|
|
|
Ya if i want to debug backwards then wat to do??? |
|
Back to top |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
We cannot debug backward, however we can trace back and see the how line was executed.
1. After entering into Xped session, type MONITOR in command line
2. Setup a break point from where you want to trace backwards
3. press PF12 (GO) the program should execute and will stop at the break point
4. Now in command line type REVERSE
5. If you press PF9 the line by line will be in backward direction and you can see what was the value in the variable and how it executed. |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
Devzee wrote: |
Do you want to Xpedite/debug backwards... if this is what you are looking for I can help you. |
This I'd like to know....
then Devzee later wrote: |
We cannot debug backward, however we can trace back... |
Shucks... |
|
Back to top |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
In Xpeditor Debug backwards is done by REVERSE and that's what I explained, but this doesnt actually mean that the code is executing in reverse direction. |
|
Back to top |
|
|
ksikdar
New User
Joined: 30 Jun 2006 Posts: 13
|
|
|
|
Thank u all |
|
Back to top |
|
|
cheryala
New User
Joined: 20 Mar 2006 Posts: 46
|
|
|
|
Hi all,
I wanted to apply the above mentioned method to my PLI program and when i entered MONITOR and REVERSE commands, i get the following messages from xpeditor...
Code: |
------------------------- XPEDITER/TSO - SOURCE ------------------------------
COMMAND ===> MONITOR SCROLL ===> CSR
CURRENT MODULE IS NOT COBOL
----+----1----+ |
Code: |
. . . . . . . . . . . . . . . . . . . . . . . . . . .
------------------------- XPEDITER/TSO - SOURCE ------------------------------
COMMAND ===> REVERSE SCROLL ===> CSR
INVALID COMMAND FOR PL/I
----+----1----+ |
My question is , don't we have option of tracing back in reverse using any commands like we have(MONITOR, REVERSE) for cobol.
Thanks and Regards,
Ch |
|
Back to top |
|
|
cheryala
New User
Joined: 20 Mar 2006 Posts: 46
|
|
|
|
Hi all,
I wanted to apply the above mentioned method to my PLI program and when i entered MONITOR and REVERSE commands, i get the following messages from xpeditor...
Code: |
------------------------- XPEDITER/TSO - SOURCE ------------------------------
COMMAND ===> MONITOR SCROLL ===> CSR
CURRENT MODULE IS NOT COBOL
----+----1----+ |
Code: |
. . . . . . . . . . . . . . . . . . . . . . . . . . .
------------------------- XPEDITER/TSO - SOURCE ------------------------------
COMMAND ===> REVERSE SCROLL ===> CSR
INVALID COMMAND FOR PL/I
----+----1----+ |
My question is , don't we have option of tracing back in reverse using any commands like we have(MONITOR, REVERSE) for cobol.
Thanks and Regards,
Ch |
|
Back to top |
|
|
|