久久精品人人爽,华人av在线,亚洲性视频网站,欧美专区一二三

SAP的ABAP調試器怎么使用

165次閱讀
沒有評論

共計 2279 個字符,預計需要花費 6 分鐘才能閱讀完成。

這篇文章主要講解了“SAP 的 ABAP 調試器怎么使用”,文中的講解內容簡單清晰,易于學習與理解,下面請大家跟著丸趣 TV 小編的思路慢慢深入,一起來研究和學習“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

SAP 的 ABAP 調試器怎么使用

SAP 的 ABAP 調試器怎么使用

SAP 的 ABAP 調試器怎么使用

小技巧 2:如何調試 update task

SAP 的 ABAP 調試器怎么使用

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

SAP 的 ABAP 調試器怎么使用

練習:我們進入事務碼 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

SAP 的 ABAP 調試器怎么使用

小技巧 5:事務碼 SRDEBUG

SAP 的 ABAP 調試器怎么使用

SAP 的 ABAP 調試器怎么使用

小技巧 6:調試腳本

SAP 的 ABAP 調試器怎么使用

感謝各位的閱讀,以上就是“SAP 的 ABAP 調試器怎么使用”的內容了,經過本文的學習后,相信大家對 SAP 的 ABAP 調試器怎么使用這一問題有了更深刻的體會,具體使用情況還需要大家實踐驗證。這里是丸趣 TV,丸趣 TV 小編將為大家推送更多相關知識點的文章,歡迎關注!

正文完
 
丸趣
版權聲明:本站原創文章,由 丸趣 2023-08-16發表,共計2279字。
轉載說明:除特殊說明外本站除技術相關以外文章皆由網絡搜集發布,轉載請注明出處。
評論(沒有評論)
主站蜘蛛池模板: 米脂县| 会同县| 三河市| 平泉县| 陵川县| 海晏县| 罗甸县| 武胜县| 四川省| 专栏| 海口市| 龙岩市| 广宁县| 黑水县| 吉水县| 汾阳市| 仁化县| 老河口市| 通城县| 清苑县| 安乡县| 新津县| 大安市| 焦作市| 开江县| 额敏县| 哈密市| 阳曲县| 博客| 阳原县| 天津市| 商洛市| 德阳市| 同江市| 九龙城区| 紫金县| 台东市| 同江市| 江北区| 龙井市| 吉安市|