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

Debug Standard Program Code

Former Member
0 Likes
649

Hi Friends,

when i am doing debugging a Program..in a certain code the Control is passing to Standard Program Code.

so my question is....it is Necessary to debug a Standard Program.

or skip that Standard Program code..

plz.. explain.

regards,

5 REPLIES 5
Read only

former_member194669
Active Contributor
0 Likes
570

Hi,

You are asking a generalised question. debug a std program will be according to your needs.

aRs

Read only

0 Likes
570

every code has some effect or the other on the output. so depending on the requirement you have to decide whether you want to debug a purticular part of a code or not. subroutines in standard programs always have a meaningful name so based on that you can guess whether the code in the subroutine is giong to help you or not. This is how I debug a stardard code. Hope it helps.

Read only

Former Member
0 Likes
570

Hi Vijay,

It is totally depend on your requirement. As a general practise first just debug your Z program, and don't go through the whole code of standard program as the chances are much more that there is error in your code not in standard.

But when you are satisfied that there is nothing wrong in the Z code then you can debug the standard code.

Revert back if further query.

Reward points if useful.

Regards,

Atish

Read only

Former Member
0 Likes
570

If you are watching the value of a particular variable and you want the exact point where it is being changed, then you have to debug that part of the code upon skipping which, the values changes. The part of the code can be a standard code also. If skipping the part of code doesn't affect the value of the variable you are concerned with, you do not need to debug that part .

Regards,

Ravi

Read only

former_member189059
Active Contributor
0 Likes
570

Hello Vijay,

In many cases even if a standard function gives a dump, it is usually due to wrong parameters passed to it

So first verify what you are passing to the standard code before debugging the entire thing