View previous topic :: View next topic
|
Author |
Message |
Sunilkumarsaini
New User
Joined: 25 Jul 2008 Posts: 13 Location: chandigarh
|
|
|
|
Hi,
Actually I am debugging a cobol prograsm throgh expeditor and I am tracking a paragraph which is performed from about 100 different places.is there any way that i can give break points on all that statements which are performing that paragraph with a single statement instead of going to 100 deifferent statment and giving break points ??! |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Why not putting a breakpoint at the first statement of the paragraph???
O. |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
O,
Quote: |
Why not putting a breakpoint at the first statement of the paragraph??? |
By doing so, he will not know from where that para was called. I think he wants the entire flow.
If your requirement is to find from where this para is called, try this.
- Put a break point at the procedure division.
- Issue "MON" to monitor the flow.
- Put a break point at the first statement inside the paragraph.
- Press F12 twice so that the control comes to this para
- Then issue 'REV' for reverse and hence you can find from where the para was called. |
|
Back to top |
|
|
sudhakar84
New User
Joined: 20 Jun 2008 Posts: 25 Location: chennai
|
|
|
|
Its better u put a break point in the paragraph which is called for 100 times. |
|
Back to top |
|
|
Sunilkumarsaini
New User
Joined: 25 Jul 2008 Posts: 13 Location: chandigarh
|
|
|
|
Thanks Dudes it worked... |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Sunil,
Quote: |
Thanks Dudes it worked...
|
Good that it worked. Did you put break points in all the places?? How did it get resolved? |
|
Back to top |
|
|
|