Intro to ABAP - Chapter 16_v1

Embed Size (px)

Citation preview

  • 7/30/2019 Intro to ABAP - Chapter 16_v1

    1/23

    August-2003 Online Debugging Tool |Document 2.16

    1

    The Online Debugging Tool

  • 7/30/2019 Intro to ABAP - Chapter 16_v1

    2/23

    August-2003 Online Debugging Tool |Document 2.16

    2

    The Online Debugging Display

    Source Code The program and the

    event the debugger is processing.

    Execution control

    buttons. Click to display

    current statement.

  • 7/30/2019 Intro to ABAP - Chapter 16_v1

    3/23

    August-2003 Online Debugging Tool |Document 2.16

    3

    Online Debugging Display

    ModesUse these buttons

    to page through

    the code

    Online debugging

    navigation buttons

  • 7/30/2019 Intro to ABAP - Chapter 16_v1

    4/23

    August-2003 Online Debugging Tool |Document 2.16

    4

    Displaying Field Contents

    Area for watch variables. These are user chosen variables that can

    be monitored as they change value during execution.

    Buttons for

    hexadecimal display

  • 7/30/2019 Intro to ABAP - Chapter 16_v1

    5/23

    August-2003 Online Debugging Tool |Document 2.16

    5

    Contents of

    internal table

    Displaying the Contents of an

    Internal Table

  • 7/30/2019 Intro to ABAP - Chapter 16_v1

    6/23

    August-2003 Online Debugging Tool |Document 2.16

    6

    The change button

    Replacing Field Values at

    Runtime

  • 7/30/2019 Intro to ABAP - Chapter 16_v1

    7/23

    August-2003 Online Debugging Tool |Document 2.16

    7

    Changing Internal Tables at

    Runtime

    Initial Values of an Internal Table

    Debugger

    New Values of an Internal Table

  • 7/30/2019 Intro to ABAP - Chapter 16_v1

    8/23

    August-2003 Online Debugging Tool |Document 2.16

    8

    The Delete Button

    Deleting a Row from an Internal

    Table

  • 7/30/2019 Intro to ABAP - Chapter 16_v1

    9/23

    August-2003 Online Debugging Tool |Document 2.16

    9

    Editing a Row of an Internal

    Table

    The Change button

  • 7/30/2019 Intro to ABAP - Chapter 16_v1

    10/23

    August-2003 Online Debugging Tool |Document 2.16

    10

    Adding a Row to an Internal

    Table

    The Insert and Append Buttons

  • 7/30/2019 Intro to ABAP - Chapter 16_v1

    11/23

    August-2003 Online Debugging Tool |Document 2.16

    11

    Debugging Strategies

  • 7/30/2019 Intro to ABAP - Chapter 16_v1

    12/23

    August-2003 Online Debugging Tool |Document 2.16

    12

    Using Breakpoints

  • 7/30/2019 Intro to ABAP - Chapter 16_v1

    13/23

    August-2003 Online Debugging Tool |Document 2.16

    13

    CASE WORLD_SERIES.

    WHEN COLORADO_ROCKIES.WRITE WORLDS GREATEST

    TEAM.

    WHEN OTHERS.WRITE MAYBE NEXT YEAR.

    BREAK-POINT.

    Setting Static Breakpoints

    Setting a static

    breakpoint

  • 7/30/2019 Intro to ABAP - Chapter 16_v1

    14/23

    August-2003 Online Debugging Tool |Document 2.16

    14

    Setting Dynamic Breakpoints

    Double click here to

    add break point

    Use menu

    path to add

    break point

  • 7/30/2019 Intro to ABAP - Chapter 16_v1

    15/23

    August-2003 Online Debugging Tool |Document 2.16

    15

    Displaying Dynamic Breakpoints

    Double click on the Stop icon to

    delete a break-point

  • 7/30/2019 Intro to ABAP - Chapter 16_v1

    16/23

    August-2003 Online Debugging Tool |Document 2.16

    16

    Setting Breakpoints at

    Keywords or Events

    Menu path to create / change /

    delete a break-point

  • 7/30/2019 Intro to ABAP - Chapter 16_v1

    17/23

    August-2003 Online Debugging Tool |Document 2.16

    17

    Setting Watchpoints

    Createwatchpoint

    screen

    Logical Operators to compare watch point variables value

    Create watchpoint

    buttons

  • 7/30/2019 Intro to ABAP - Chapter 16_v1

    18/23

    August-2003 Online Debugging Tool |Document 2.16

    18

    Watch points overview screen

    Logical Operators

    between watch points

    Watch pointchange/delete

    Button to

    display watch

    point overview

    screen

  • 7/30/2019 Intro to ABAP - Chapter 16_v1

    19/23

    August-2003 Online Debugging Tool |Document 2.16

    19

    Deleting and Deactivating

    Breakpoints

  • 7/30/2019 Intro to ABAP - Chapter 16_v1

    20/23

    August-2003 Online Debugging Tool |Document 2.16

    20

    Deleting and Deactivating

    Dynamic Breakpoints

  • 7/30/2019 Intro to ABAP - Chapter 16_v1

    21/23

    August-2003 Online Debugging Tool |Document 2.16

    21

    Debugging Without Breakpoints

  • 7/30/2019 Intro to ABAP - Chapter 16_v1

    22/23

    August-2003 Online Debugging Tool |Document 2.16

    22

    Switching to the ABAP Editor

    from within the Debugger

    Editing

    @#!##?*&% No Problem!

    Debugging

  • 7/30/2019 Intro to ABAP - Chapter 16_v1

    23/23

    August-2003 Online Debugging Tool |Document 2.16 23

    Releasing the Database During

    Debugging