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
Article Directory
- SAP ABAP breakpoint debugging (2): ABAP Debugger (debugger)
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.
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.
Mainly used sub-screen tools are:
variable quick display = the value area in the above picture.
3 main status bar
4 Operating environment information
5 tab workspace
6 Sub screen status bar
7 Which tools can be set on the layout
实际上布局是基于子屏幕的动态调用实现,而每个工具都是独立子屏幕开发的。
8 menu bar
Only 断点
the menu functions are listed here
9 key points
9.1 Creating breakpoints
Consistent with the function of the menu bar 断点
,
set a message breakpoint, one of the most commonly used functions,
9.2 Create watchpoints (watchpoints)
One of the most commonly used features,
9.3 Desktop operation of breakpoint/watchpoint (watchpoint)
When there are many breakpoints, you can go here for unified operations.
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.