‎2010 Sep 16 8:55 AM
Hi,
i create a lot of parallel Function Calls during my code:
DO 50 Times.
CALL FUNCTION 'Z_DO_SOMETHING'
STARTING NEW TASK lv_task_name
DESTINATION IN GROUP p_group
PERFORMING get_results ON END OF TASK
...
If i now go into debugger and press F5 before Call Function, a new window opens, where i then see the Function Z_DO_SOMETHING and i can debug it there. Fine.
Now if i set a Breakpoint somewhere (does not depend if i do it directly in the coding or if i create it in the "Breakpoint"-tab of the debugger, internal and external breakpoints) and click save in the debugger (to save the Breakpooints) and i press F8, the debugger never stopps at the points.
The reason for this is, if i then debug again in this Function Z_DO_SOMETHING (for example in the second loop round), i can see that the breakpoint tab is completely empty. So why are my breakpoints deleted? Why i have to create them in each session which is triggered by the coding above seperately? How can i set a break-point which works in such cases?
Thanks & Kind Regards,
John
‎2010 Sep 16 9:21 AM
Me personally would code an infinite loop into the FM, just dont forget to add a ending condition.
Then you can capture the mode in SM50 and jump into debugging it.
Then change your variable assigned to the ending condition of your infinite loop, so that it stops looping, and now proceed to debug the rest of coding.
‎2010 Sep 16 10:26 AM
Hey Florian,
That's a crude but very effective way of debugging aRFC
PS: If i remember you're not a hard-core ABAPer !!
‎2010 Sep 16 11:11 AM
aye you´re right i´m more into FORM-Printing, but well i tend to get SD and MM jobs more and more, so yeah expierience is growing
‎2010 Sep 16 10:42 AM
Hi Keshav.T ,
sorry, i don't understand your post. I have read the link you posted, but how can i inflience now the ABAP Debugger to debug these cases?
Thanks
‎2010 Sep 16 11:18 AM