Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to debug

Former Member
0 Likes
979

Hi Experts,

Can anyone please help me out in how to debug a source code.

Please its urgent.

points will be awarded .

Regards,

Naresh.

6 REPLIES 6
Read only

Former Member
0 Likes
883

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

Read only

Former Member
0 Likes
883

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

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
883

Go to SE38 and display the program, put your cursor on the line that you want to start debugging and click the "Stop Sign" icon, now you have set a breakpoint, hit F8 to run the program and it will stop in the debug mode when the statement is reached.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
883

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

Read only

Former Member
0 Likes
883

Sorry its typo replace can with cannot in my note.

Thanks,

Santosh

Read only

SantoshKallem
Active Contributor