Debug the process of how to use the SAT tracking program

1, Scene Introduction

As we all know, we can use tcode SAT easy to follow tradition dialog program. But for some non-traditional dialog application is not so easy, for example webdynpro Fiori program or application, this paper describes a method for SAT to start tracking program in debug process.

for example:

In the following Fiori applications, uses odata service to return users to share calendar. odata service through the Chrome browser plug-initiated postman, now this application for performance analysis.

clipboard2

2, set a breakpoint

Provided performance analysis needs to be done by the breakpoint, in the present embodiment is implemented at odata service (line 12) to set a breakpoint, then click the send button in the postman breakpoint is triggered, and click the "New Tool" button:

clipboard1

3, start the SAT tool

In the Special Tools, start Trace (SE30 / ST05) tools,

1

Double-click on the activation button SE30,

clipboard5

Then find status by the red light turns green, which represents ABAP trace has been opened,

clipboard6

Then set a breakpoint at the end of the track where, after F8 runs to the breakpoint, and then close the SAT tool. Then you can see a file icon in Tracefile cases at this is to track the results have been produced.

clipboard7

4. View Results

Tcode:SAT

We can see just tracking the results generated in the SAT,

clipboard8

Double-click View Details,

clipboard9

You can also start the debug process ST05 by the above method, this method can be very convenient to track a targeted part of the code, but not all of the procedures, easier to detect performance problem.

the above.

Guess you like

Origin www.cnblogs.com/lvdong18847870057/p/12535102.html
Recommended