In this post, you will learn about displaying an ABAP short dump in Eclipse ADT.
- How to see the short dump you get while executing the program or class from Eclipse?
- How to monitor short dumps similar to ST22?
How to see the short dump you get while executing the program or class from Eclipse?
Let us first create one class to generate a short dump first. Refer post Using ABAP Console (ABAP on Cloud) to learn more about creating a class we can run directly.


Code
CLASS zjp_test_for_short_dump DEFINITION
PUBLIC
FINAL
CREATE PUBLIC .
PUBLIC SECTION.
INTERFACES if_oo_adt_classrun.
PROTECTED SECTION.
PRIVATE SECTION.
ENDCLASS.
CLASS zjp_test_for_short_dump IMPLEMENTATION.
METHOD if_oo_adt_classrun~main.
DATA(lv_dump) = 1 / 0. "Generate short dump
ENDMETHOD.
ENDCLASS.
Now, activate & run the class.

ABAP Runtime Error is generated.

Here, you can click on Debug to get into the debug perspective.

Or, you can click on Show to see the short dump. Here there tabs are displayed – Summary. Long Text and Unformatted Display
Summary

Long Text

Unformatted Display

How to monitor short dumps similar to ST22?
Locate the feed reader.

If, you are not able to locate the feed reader on the screen, then follow the below menu path –
Window > Show View > Other... ( Alt + Shift + Q)

On the next window enter search text to get the Feed Reader. Select Feed Reader and click Open.

Feed Reader is open.

Here, right-click on the system node (TRL_EN in this example) and choose the option Add feed query.

Choose ABAP Runtime Errors and click Next.

Choose the filter and click Finish.

The feed Reader is refreshed with runtime errors.

Double-click on the Feed Reader tab to get into full-screen view. Expand the nodes, and select any error to see the details by clicking on the entry.

Double-click on the entry to open the short dump views that we saw earlier.

As you can see, the feed reader is important for troubleshooting and we must know how to use it.
Visit ABAP on HANA series for Tutorials on CDS, AMDP, Eclipse, and ALV IDA.
If you like the content, please subscribe…