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 debugg a program in realtime?

Former Member
0 Likes
621

Hi,

I want to learn about debugging a program.

How to debugg a program in real time and if it is a standard program how to know the where the error has occured.

thanks.

sam.

Hi,

I want to learn about debugging a program.

How to debugg a program in real time and if it is a standard program how to know the where the error has occured.

thanks.

sam.

4 REPLIES 4
Read only

Former Member
0 Likes
601

check this..

go to the program and set break points in it and choose execute..

or do like this..

execute the program put /h in the command bar enter and execute again it will takes to u to debugging mode..

or do like this..

system-->utilities----->debugger

classical debugger.

http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm

new degugger

http://help.sap.com/saphelp_nw04/helpdata/en/84/1f624f4505144199e3d570cf7a9225/frameset.htm

regards,

venkat

Read only

Former Member
0 Likes
601

Mujeed,

If it is standard one the you have to put '/h' at start to debugg that program. Or if it is z-implimentation then you can use Break point.....

Read only

Former Member
0 Likes
601

Hi ,

Debugging generally we will do following ways.

1. Hard code BRAKE <USERID> in your program

2. when excute the program/tcode enter in "/H" in command window.

3. Go your program, select line and choose Set/Delete breakpoing in application toolbar.

Regards,

Vishvesh

if helpful, rewards it.

Read only

Former Member
0 Likes
601

Hi Mujeeb,

Write ur code, then check for the syntax, "activate" ur program...then u can set break points :

1) write BREAK-POINT in ur program wherever u want to stop.

2) set the break point by using CtrlshiftF12 ( the button left to PATTERN )

3) enter /h and execute the program.

Hope u got a correct picture of debugging.

Regards,

Ramya