Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

DEBUGGING

Former Member
0 Likes
1,429

hi,

could anybody tell me how to go to a perticular PERFORM xxxx statement on debugging. i want to know from where it is getting fired.

thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,406

put a break point in perform statement and then in debugging mode clickon the menu and select go to previous so it takes u to the point where it is triggered from.

sathish

12 REPLIES 12
Read only

Former Member
0 Likes
1,406

Hi

Put the break point at the perform and execute

when it reached that perform,then press F5.

Once you enter press f6 for step by step,if you want to come from that perform press f7.

if you want to exit from debugging in menu bar select restart or exit debugger.

Thanks

Read only

Former Member
0 Likes
1,406

Hai,

U can set <b>WATCH-POINT</b>.

Regards,

Padmam.

Read only

Former Member
0 Likes
1,406

Additionally you csan also use the statements

break-point.

to put a break-point where ever you need in your code...!!

Hope this helps..

<i>Do reward each useful answer..!</i>

Thanks,

Tatvagna.

Read only

former_member196280
Active Contributor
0 Likes
1,406

Click '/h' and execute the program once you are in Debugging mode

From menu list BREAKpoint--> Break point At --> SUbroutine

Enter the desired sub-routine name and press ok.

I guess your question is answered..

Reward points to all useful answers.

Regards,

SaiRam

Read only

Former Member
0 Likes
1,406

Hello

Put a Break-point at the perform and execute the program. Whenever the cursor reached on your Perform xxxx statement, press F5 and proceed.In this way you can goto your subroutine..Now by pressingon step-by-step(F5) you can completely debug this.

Reward All Helpfull Answers.......

Read only

Former Member
0 Likes
1,407

put a break point in perform statement and then in debugging mode clickon the menu and select go to previous so it takes u to the point where it is triggered from.

sathish

Read only

former_member196299
Active Contributor
0 Likes
1,406

hi Sam ,

Write a stmt called 'Break-point' before the perform XXXX stmt if you know where it is already in your program .

if you d't know then go to debug mode and keep on clicking F6 from the begining of the program in debuging mode , you will reach that part of code .

Regards,

Ranjita

Read only

Former Member
0 Likes
1,406

Hi,

Two cases :

1) If you know the program name in which subroutine exist. Diresctly put a break-point over there & through same window call the trabsaction or execute the program.

2) You dont know program name but just know the subroutine, Put /h before executing then In debug mode goto Breakpoint-> Breakpoint at -> statement. Here write PERFORM & press enter. Then press F8 till the time you reached the desires subroutine.

Thanks

Sandeep

Reward if helpful

Read only

Former Member
0 Likes
1,406

hi,

place the cursor where u wanna put break point n click stop button [red color]. then system ll automatically place a break point there.

or

code as break-point. [where u wanna break point].

use f5 or fe while debugging.

F5 -> line by line debugging.

F6 -> same as f5 but it executes a subroutine as a single line.

reward some points if useful.

with regards,

suresh babu aluri.

Read only

Former Member
0 Likes
1,406

Hi Sam,

Once you reach the sub-routine, in debugging mode click on CALLS pushbutton in the debugger screen, this shows all the calls till now in descending order, from there we can make it which program called it. This is the best way of figuring out the dynamic calls.

Please let me know if further details are required from my side.

Thanks & Regards,

Goutham

Read only

Former Member
0 Likes
1,406

Hi friend,

Look u have to do nothing but when u go into debugging mode trace single stepwise the entire program and u will see that as perform statement is triggered it automatically goes to its form stament and returns back after form statements get over and program works smoothly.