IBM AS/400 EnterPF1 Help, The ILE Source Debugger, Tbreak, Thread, Watch, Find, Down, Left, Right

Models: AS/400

1 489
Download 489 pages 47.95 Kb
Page 189
Image 189

The ILE Source Debugger

STEP Allows you to run one or more statements of the procedure b debugged.

TBREAK

Permits

you

to

enter

either an

unconditional or

conditional bre

 

the

current

thread

at a position

in

the

program being

test

THREAD

Allows

you

to

display

the Work with Debugged Threads display

 

change

the

current thread.

 

 

 

 

 

 

 

 

 

WATCH

Allows

you

to

request

a breakpoint when the contents of a sp

 

 

storage location is changed from its current value.

 

 

 

 

FIND

Searches forwards or backwards in the module currently displa

 

 

specified

line

number

or

string

or

text.

 

 

 

 

 

 

UP

Moves

the

displayed

window

of

source

towards

the

beginning

o

 

 

view by the amount entered.

 

 

 

 

 

 

 

 

 

DOWN

Moves

the

displayed

window

of

source

towards

the

end

of

th

 

 

the amount

entered.

 

 

 

 

 

 

 

 

 

 

 

LEFT

Moves

the

displayed

window

of

source

to

the

left

by

the

n

 

 

columns

 

entered.

 

 

 

 

 

 

 

 

 

 

 

 

RIGHT

Moves

the

displayed

window

of

source

to

the

right

by

the

 

 

columns

 

entered.

 

 

 

 

 

 

 

 

 

 

 

TOP Positions the view to show the first line.

BOTTOM Positions the view to show the last line.

NEXT Positions the view to the next breakpoint in the source curr played.

PREVIOUS

Positions the view to the previous breakpoint in the source played.

HELP Shows the online help information for the available source deb commands.

The online help for the ILE source debugger describes the debug explains their allowed abbreviations, and provides syntax diagrams for command. It also provides examples in each of the ILE languages of changing variables using the source debugger.

Follow these steps to access the online help information for ILE RPG:

1.EnterSTRDBG library-name/program-name whereprogram-nameis any ILE program with debug data inlibrarylibrary-name.

2. EnterDSPMODSRC

to show the source view if this screen does not a

lowing step

1.

3.EnterPF1 (Help)

4. Put your cursorEVAL onand press enter to bring up the EVAL command he

5.Put your cursorExpressions and press enter to bring up help for expressions.

6.Put your cursorRPG onlanguage and press enter to bring up RPG language examples.

Chapter 11. Debugging Programs165

Page 189
Image 189
IBM AS/400 manual EnterPF1 Help, The ILE Source Debugger, Tbreak, Thread, Watch, Find, Down, Left, Right, Previous