Webdynpro Debug

If any errors occur in our Web Dynpro components, we can use the ABAP Debugger to execute our WD component, by line or by section.

To work with the debugger, we can create Breakpoints at the point where the program should pause (Fig. 3.28).

Figure 3.28: Setting a Breakpoint

 

We run the application and, in the moment when the program flow reached the defined breakpoint, the ABAP Debugger is open (Fig. 3.29).

Figure 3.29: ABAP Debugger

 

As we can see in the Process Information, the main component of the ABAP Debugger, we debug an HTTP application. The "Exclusive" represents the fact that the application we debug occupies a work process of the application server.

By using the Buttons from the Control Area, we can control the program flow. For example, we can choose to execute the program line by line Image from book — Single step, or to execute the program up to the next Breakpoint Image from book — Continue.

We can use the ABAP Debugger tools to have information about the variable (Fig. 3.30).

Click to collapse
Figure 3.30: Tool Component of the ABAP Debugger

By using the New Tool button Image from book, we can open a selection window that offers the possibility to access additional functionalities. In the Special Tools section, we can find the created tool, to be used for a better debugging of the Web Dynpro components (Fig. 3.31).

Image from book
Figure 3.31: ABAP Debugger — New tool selection window

As we can see in Fig. 3.32, we are offered the possibility to have access to all the individual elements of the Web Dynpro component; we can see the view attributes, the view layout, the UI elements and data binding, the context structure and its attributes, etc.

Click to collapse
Figure 3.32: The ABAP debugger — web Dynpro ABAP tool

We are able to see not only the context structure, but also to display the runtime object, by choosing from the contextual menu Display Runtime Object (Fig. 3.33).

 

Click to collapse
Figure 3.33: Displaying the runtime object

These are only some of the ABAP Debugger capabilities that can be used along with other performance tools (for example, the transactions WD_TRACE_TOOLS, S_MEMORY_INSPECTOR), to help us to develop Web Dynpro applications.

 

 

 

 

 

 

 

转载于:https://www.cnblogs.com/lnu2471/p/3622383.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值