‎2007 Jan 05 5:09 PM
Hi Experts,
Can anyone please help me out in how to debug a source code.
Please its urgent.
points will be awarded .
Regards,
Naresh.
‎2007 Jan 05 5:10 PM
hi,
put a break point in the code and execute. activate the program b4 breakpoint.
Stop button in application tool bar or utilities --> Breakpoint --> Set
or u can use /h then the debugger turns on
Regards
CNU
‎2007 Jan 05 5:12 PM
Hi Naresh,
A breakpoint is the signal, which is specified in the program, tells the system to stop the program execution and to start the debugger.
<b>How to put a break point</b>: Select a line in a report and click on Stop button or
Goto Utilities->Breakpoints->Set/Delete
<b>Navigating through the breakpoint</b>
Following buttons are used to navigate through the program and debugger.
Single step(F5): Executes a single program command.
Execute(F6): Similar to the single step, but when a program calls a subroutine, it executes the whole subroutine unlike single step.
Continue(F7): Executes the program until it is finished or until it finds next breakpoint.
Return(F8): Allows for executing the program instruction up to the end of a routine and stops in the line of code where the subroutine gives back control to the main program.
Thanks,
Vinay
‎2007 Jan 05 5:13 PM
‎2007 Jan 06 2:12 AM
Goto your program in se38. Put curson on the line from where you want to start debuging and you may click on Stop button (red color) or press CtrlShiftF12.
Then execute your program to start debugging.
You may refer below thread on debugger specialist:
Note: You can put breakpoint on data declaration section.
Hope this helps.
Thanks,
Santosh
‎2007 Jan 06 2:13 AM
Sorry its typo replace can with cannot in my note.
Thanks,
Santosh
‎2007 Jan 06 8:43 AM