SAP ABAP breakpoint debugging (2): ABAP Debugger (debugger)

SAP ABAP breakpoint debugging (2): ABAP Debugger (debugger)

Introduction: Debug is the tracking and observation of the program runtime environment. Debug debugging is the core skill that developers need to master, and it is the golden key to solve intractable diseases. This is the second article of SAP ABAP breakpoint debugging, which mainly introduces the function of ABAP Debugger (debugger). The knowledge of the article is used to prove it, so it must be practiced a little more, if you have the ability, you can ruin it.

keywords:SAP ABAP Debugger 调试器 断点调试 BREAK


SAP ABAP breakpoint debugging (1): Debug basics
SAP ABAP breakpoint debugging (2): ABAP Debugger (debugger)
SAP ABAP breakpoint debugging (3): classic Debug scenario
SAP ABAP breakpoint debugging (4): a complete Debug requirement case demo

1 General breakpoint settings

For basics on breakpoints, check out the first article in this series.
insert image description here

2 standard desktop

In the tab bar, 4 desktop layouts (desktop 1/2/3/standard) are preset, and the sub-screen functional areas in each desktop layout can be switched flexibly.
insert image description here
Mainly used sub-screen tools are:
insert image description here
variable quick display = the value area in the above picture.

3 main status bar

insert image description here

4 Operating environment information

insert image description here

5 tab workspace

insert image description here

6 Sub screen status bar

insert image description here

7 Which tools can be set on the layout

实际上布局是基于子屏幕的动态调用实现,而每个工具都是独立子屏幕开发的。
insert image description here

8 menu bar

Only 断点the menu functions are listed here
insert image description here

9 key points

9.1 Creating breakpoints

insert image description here
Consistent with the function of the menu bar 断点,
insert image description here
set a message breakpoint, one of the most commonly used functions,
insert image description here

9.2 Create watchpoints (watchpoints)

One of the most commonly used features,
insert image description here

9.3 Desktop operation of breakpoint/watchpoint (watchpoint)

When there are many breakpoints, you can go here for unified operations.
insert image description here
insert image description here

9.4 What is a conditional breakpoint

需要满足触发条件的断点就是条件断点。
According to this definition, then monitoring points, message breakpoints, script breakpoints, etc. all belong to conditional breakpoints.
Unconventional, according to the actual development experience, I divide the conditional breakpoint into 静态条件断点and 动态条件断点,

  • Static conditional breakpoints
    Write conditions directly in ABAP statements.
  • Dynamic conditional breakpoints
    Conditional breakpoints set in the ABAP Debugger (debugger).

熟练使用条件断点在实际开发中对工作效率有很大提升。

10 ABAP Debugger (debugger) use summary

  • Use more, click more, discover more

other

My WeChat group, QQ group and other publishing platforms.

Provide long-term development and operation and maintenance services.

Guess you like

Origin blog.csdn.net/libin961797440/article/details/131656403