Start Routine的Break-point

来源:互联网 发布:fedora yum 升级内核 编辑:程序博客网 时间:2024/05/16 11:16

昨天在RULE的Start Routine中写了规则,发现老是不成功,怀疑不执行,用Break-point设置了断点,看程序能不能进入?结果没发现。于是在网上有人是这么说的:

Question:
Hi BW Gurus,
I put break point in the startroutine. It is not stopping for me to see the values. How can I do that??
BREAK POINT
BREAK <USER>
Thanks
EV
Answer:
put some endless loop.
while xyz eq 0.
endwhile..
then debug from sm50, when you want to get out of, change the value of xyz.
 
Debugging “Start routine”
Above process cannot be used to debug start routines, which get executed before the update rules are called for each data packet. And this start routine is called in the background process. Even statements like “BREAK-POINT” are ineffective in breaking the execution process.
You can use the following trick in this case:
Have an infinite loop in the start routine:
** for debugging purpose
WHILE sy-subrc EQ 0.

ENDWHILE.

 

原创粉丝点击