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

Is debugging possible??

Former Member
0 Likes
1,123

Hi can any one clear me one doubt can we activate debugger or can we go to debugging mode when we use program subroutine

1 ACCEPTED SOLUTION
Read only

former_member188827
Active Contributor
0 Likes
1,087

use /h to go to debugging mode

10 REPLIES 10
Read only

Former Member
0 Likes
1,087

Could you please clarify with an example

Read only

0 Likes
1,087

while creating a program we have to select various options in which it will ask for type in which we are having

Executable Program

Include Program

.

.

.

subroutine pool

in which i had asked if we had selected subroutine pool while creating a program after to debug that program what should i do??

Read only

0 Likes
1,087

write /h on where u specify tcode and press F8.debugger 'll switch on.

Read only

0 Likes
1,087

No it was directly going to debugging mode but it was not selecting what data i want is there is any alternate

Read only

0 Likes
1,087

Hi Pavan ,

A subroutine pool is a program which is used to define subroutines whicah can be later called by any program , so the debugging is the same , go to the subroutine pool program and set a breakpoint at the statement where you want to break.

Here is a sample code as to how we call a subroutine in another program

<b>perform ADD_TWO_NO in program ZAR_TEST_1.</b>

here ZAR_TEST_1 is my subroutine pool

i put a breakpoint at a statement in the subroutine ADD_TWO_NO and the program stopped there.

do revert back in case of queries.

Regards

Arun

Read only

former_member188827
Active Contributor
0 Likes
1,088

use /h to go to debugging mode

Read only

Former Member
0 Likes
1,087

Hello,

If it is a zprogram just write on the subrutine:

...

break yourUsuer.

....

then..

Activate

In case it isnt a Z, go the line and put a break point in the client you are testing,

Put the cursor in the line you want to stop, the in the Utilities mode -> breakpont -> set/delete.

Then run the program.

Or to do a full debbugin, just /h on the transaction input field.

Hope this helps,

Gabriel.

Read only

Former Member
0 Likes
1,087

Put a breakpoint at the begining of the Subroutine that you want to debug and then execute the program. The program execution will stop at the breakpoint and you would find yourself in the debugging mode from that point onwards.

Read only

Former Member
0 Likes
1,087

hi,

Place a breakpoint at the subroutine and execute the program or use /h

Read only

Former Member
0 Likes
1,087

Hi,

Put a break point on the first executable line in the subroutine-pool and execute your program.

Debugger will appear when the subroutine pool is called.

Reward points if found useful...!

Cheera

Abhishek