A | Debugging Objects
the object of type CL_SALV_TABLE has four references, including the attribute
grid from class
1
cl_query_ctrl as well as the kernel reference.
ABAP Debugger
EEEE
1 fwm | THW | tnwowi | wwwowi | cnwtk | (Wrtw | swm
Wan Program
ZALVruSHl
&xrta<od»of ?«.Vfll6Ht_Cm«S
M6THOO
8M0W_0«10
CLCL_OUf RV.CTRU
fnOTRr
Crtabl* tha standard N.V toolbar
OtgMttttM
irtarlKf
• ,'v State ai
F
10 15
,
\tt*S$«Cl_6M.V_TMU)
M«t«K«
MnM*l
[no
| [ 1 [wHiWt^w^aa
(J> O KO€L
i 3L
—
{&C**f**ir1lm»rK*t tQjnO
[0 lS
,
\CUSS«a._SM».I«tEJ
NO
0»ft«1tr*r<*%
1 \K£f*l«(0 15*\CUSS»Cl_SJU-*_tm£)
: to 16'\aJW«a_SAlV_C0MR0UER_T«U 1 \0ATA. IF_SM.V_WIITRCUI
3 co ie*\cus$ra.$ALv.co«ti>oi.iEft.tAi«.Ei\Mi*i».imE
4 (0 1
,
\PR05SAH.ZaLVFlI6HI\Cl*SS»LCl.OOUrr_CIH.>Vt'*IA«6«IO
siaiBiBinisiaiae
Figure A.5 Showing the Reference Assignments for an Object
A.1.5 Troubleshooting Class-Based Exceptions
Whenever a statement triggers an exception during a debugging session, the
ABAP debugger traces the exception propagation process back to the exception
handler block that captures the exception — assuming there was one. Often, you
will encounter debugging scenarios where a developer chose not to capture the
exception situation in an exception object. This information can be crucial for
debugging complex exception situations. Therefore, you can modify the debug-
ger session settings to dynamically generate an exception object that you can use
to troubleshoot an error. To configure this setting, follow these steps:
1. Select the SETTINGS display mode, and click on the ALWAYS CREATE EXCEPTION
OBJECT checkbox (see Figure A.6).
2. After the exception is triggered, the cursor is placed at the beginning of the
CATCH block defined to handle the exception. If this CATCH block is not defined
using the INTO addition, then you can display the exception object by clicking
on the DISPLAY EXCEPTION OBJECT button (see Figure A.7). Otherwise, you can
double-click on the exception object reference just as you would for any nor-
mal object reference variable.
338