cancel
Showing results for 
Search instead for 
Did you mean: 

Why DEBUG is Performance Intesive actviity ?

Former Member
0 Kudos

HI

Most of the times...It is observed, As soon as our ABAPers / Functional Experts starts DEBUG,

The response times of system shoots up & Performance dips down.

How we can create DEBUG with No-Performance Impact quality environment please

Rgds

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello

As the word 'DEBUG' suggests itself, it provides very detailed log of activities while executing source code. Developers seek this information at very micro level in order to carry out root cause analysis if something un-expected outcome is thrown by the source code. Since, this is very detailed log it takes too much of system resources thereby depleting the performace. seeking DEBUG level log without impacting performace is not possible. SAP always recommend to set DEBUG level log severity only when it is required for analysis and restore the same to ERROR or FATAL after the traces have been collected.

Regards,

Tapan

Former Member
0 Kudos

HI...

Our ABAPers asks ...DEBUG access allways in quality system for ever and most of the time , We see quality system performance is dipped due to debug.

Is it normal in industry , In quality Servers, the abapers and functionals will have DEBUG allways ?

Rgds

Former Member
0 Kudos

Not Really!!

As i said earlier also, since DEBUG provides very detailed level logging it is generally set as OFF. DEBUG is configured only when detailed tracing is required for troubleshooting and is switched off after the tracing has been collected. You are advised to keep DEBUG switched-off under normal server operations.

If you have received answers to your satisfaction,kindly mark the thread as 'Answered'.

Thanks

Tapan

0 Kudos

Hi,

It seems that you are talking about the DEBUG mode for ABAP programs and not DEBUG trace files. Kindly note that the performance could go down in a system where resources are less are too many ABAPers are debugging at the same time.

The difference between a program being directly executed and a program being debugged is that when a program is being debugged it takes much longer time as compared to direct execution because it keeps waiting for user intervention. During this time if you check you can see that the Work Process status is " On Hold". So if you are having less resources then you should limit the number of debuggers (abapers) or set the following parameter accordingly:

      rdisp/max_debug_lazy_time

The lesser the time specified for this parameter, the lesser the " On Hold" time allowed for the program to wait for user intervention/dialog.

I hope this helps.

Thanks & Regards,

Abhishek