View previous topic :: View next topic
|
Author |
Message |
jjooyy
New User
Joined: 05 Jan 2006 Posts: 11
|
|
|
|
Hi all,
Please explain what is break points & how it is working?
Thanks,
Joy |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Breakpoint is a point in your program were you want the debugger to stop.
In Xpediter, you set a breakpoint by putting A (after) or B (before) next to the desired line. To see all breakpoints in your program, use the command SHOW BEFORES or SHOW AFTERS.
O. |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
I would rather say Break point is a point in your proram where you want XPEDITOR to stop/start debugging of the program.
Let's say this is what ur program looks like...
Code: |
PROCEDURE DIVISION.
A100-INITIALIZE.
B100-PROCESS.
C100-TERMINATE. |
Now you have started XPED and you want XPED to go directly to Para B100-PROCESS rather than being executed line by line. You'll put a "B" next to the B100-PROCESS and press F12 to switch over. Now XPED is ready to start with B100-PROCESS directly line by line.
@ofer71... Pls correct me, if I m wrong. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
PF12 is usually for GO (until next breakpoint or WHEN).
O. |
|
Back to top |
|
|
UmeySan
Active Member
Joined: 22 Aug 2006 Posts: 771 Location: Germany
|
|
|
|
Hi !
I would go along with ofer71. You specify Breakpoint at that point in Coding, where you want to Trace your Coding, perhaps line by line.
With a for after or b for before ( before executing the coding in that line)
Then PF12 issues a GO, Xped will start your programm in background and will stop at the breakpoint to let you enter the commands you need.
Perhaps a Keep comand for displaying the content of a field or something like this. PF6 will step to the next line,- SourceCodeInstructuion-, PF12 (GO) will step to next Breakpoint, if there is any,or to EndOfProgram.
Type Help under Xped to have a look at all the commands.
Regards; Umeysan |
|
Back to top |
|
|
|