日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

SAP技术专家的ABAP调试器培训材料

發布時間:2023/12/19 编程问答 28 豆豆
生活随笔 收集整理的這篇文章主要介紹了 SAP技术专家的ABAP调试器培训材料 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

首先弄清楚ABAP Classic調試器和新調試器的區別:

Classic debugger:

(1) Static breakpoint

a. BREAK-POINT : non-user specific
b. BREAK user name user specific

(2) Dynamic breakpoint

New debugger:

(1)Static breakpoint
(2)Dynamic breakpoint
a. session breakpoint
b. external breakpoint

Session 斷點和External斷點的區別

(1) Session BP is only visible in all external sessions belonging to the same user session, while External BP is visible across all user sessions. Therefore, only External BP is valid for BSP / Webdynpro debugging.

(2) When a user logs off, Session BP will be deleted while external BP persists.

By setting this flag, if external session A is running, and in external session B ( A and B belongs to the same user session ) you set a session breakpoint in the program source code, the BP will be triggered immediately .

ABAP獨占斷點(Exclusive Breakpoint)和非獨占斷點的區別

下圖是非獨占斷點:

下圖是獨占斷點:

Exclusive mode means the application to be analyzed exclusively occupies a work process of the application server during debugging. If all exclusive debug work processes are occupied, the Debugger is switched to non-exclusive mode. (rdisp/wpdbug_max_no )

Limitation for non-exclusive mode:

Due to technical limitations in ABAP debugger implementation, there are following limitations when debugger is run under non-exclusive mode:
(1) No possible to debug statement between SELECT and ENDSELECT. In this case, program terminates with this error:

(2) No possible for conversion / field exit.
(3) No possible for debugging in production system, program terminates with exception DEBUGGING_NOT_POSSIBLE.

ABAP調試器里的一些指標該如何閱讀?

考慮下面這段最簡單的ABAP代碼:

調試器里查看A1這個類型為內表的變量:這里的[2×1(8)]是什么意思?

2: table row number
1: table column number
8: byte length of table row

The time for which the new Debugger is active is determined by the profile parameter rdisp/max_debug_lazy_time – which is set to 600 seconds in the standard version. After this time space has elapsed, the Debugger process is exited automatically and control is passed back to the application.

一些小技巧:how to debug background RFC?

解決方案:使用事務碼sbgrfcmon

小技巧2:如何調試update task

小技巧3:如何使用ABAP觀察點 Watch point

練習:我們進入事務碼SE09時,會觀察到User字段會自動被填充成當前登錄用戶。如何通過觀察點快速找到是哪一行代碼賦的值?

When we use SE09, how can we find the logic of the User? When and where is this field filled? What does content come from?
Debugging step by step will be very time-consuming.

小技巧4:使用ABAP檢查組 Check group

小技巧5:事務碼SRDEBUG

小技巧6:調試腳本

要獲取更多Jerry的原創文章,請關注公眾號"汪子熙":

創作挑戰賽新人創作獎勵來咯,堅持創作打卡瓜分現金大獎

總結

以上是生活随笔為你收集整理的SAP技术专家的ABAP调试器培训材料的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。