‎2006 Jun 30 7:27 AM
Hi all,
Could you help me on this?
What is the step-by-step procedure to debug a given module program? How can I see the value of the variables in the program after each step?
Couldn't understand anything much from the online links!
Thanks,
Indu
‎2006 Jun 30 7:32 AM
Hi Indu,
Check the position at which you have to put the break-point.Activate the break point there CtrlaltF12.Execute the program.Now your program will go step by step in all the events.Now you can check the value of variable at each step.
‎2006 Jun 30 7:32 AM
Hi Indu,
Check the position at which you have to put the break-point.Activate the break point there CtrlaltF12.Execute the program.Now your program will go step by step in all the events.Now you can check the value of variable at each step.
‎2006 Jun 30 7:34 AM
Hi Mukesh,
The break point is not getting activated the way you asked me to ! Is there any other way to activate it?
Thanks,
Indu
‎2006 Jun 30 7:38 AM
Type in BREAK-POINT in your program wherever you want to stop.
Just double click on the varialbe and you will be able to see the value of the same.
Regards,
Ravi
‎2006 Jun 30 7:40 AM
Hi Indu use ctrlshiftF12 instead of that.There is one red button(STOP) on the application bar that works for the Breakpoint you can press that also
Message was edited by: mukesh kumar
‎2006 Jun 30 7:43 AM
HI Indu,
Brekpts in system prgms are only observed in system debugging.You can't set breakpoint in the screen.If you wantto set it ..type <b> /h </b> in the command field and execute the prgram.
F5 : Line by Line Debugging
F6 : module level
F8 : control passes to other debugging
You double click the module user_command..and there in any of the code u place the cursor and click the <b> STOP </b> Icon and turn Session brkpnt.
Rgds,
Jothi.
‎2006 Jun 30 7:46 AM
Is this the procedure for module program too? Because I get an error message saying - ' is not a report program (type 'm') '.
Indu
‎2006 Jun 30 7:48 AM
The debugging procedure is same for all the programs. The message you are getting is becase you are trying to execute the program directly. Place the break point using the code like the way I have show in the previous answer and execute the program using teh transaction code.
Regards,
Ravi
Note : Please mark all the helpful answers
‎2006 Jun 30 7:50 AM
Place the break point at the specified position first and execute the module program it will work fine.
‎2006 Jun 30 7:57 AM
Hi Indu,
First of all u can't run Module Program directly.
U have to create a TCODE for it in SE80.
where u have to pass program name and screen name.
NOw activate the program and mark the break points.
Run the TCODE u have created for ur Module prog.
use following:-
F5 : Line by Line Debugging
F6 : module level
F8 : control passes to other debugging
Dobule click the variable for which u want values.
Regards
-
Sachin Dhingra
‎2006 Jun 30 7:32 AM
You have to type '/h' in the transaction code. After that press execute button. Debug screen will open. Now you have go step by step. And you can see the value of the variables.
Regards,
Subhasish
‎2006 Jun 30 7:37 AM
First u activate the program . Than only Break point will work.
‎2006 Jun 30 7:52 AM
Hi Indu,
ways to debug..
1. Hardcode Break points using BREAK-POINT
2.Using /H when you Before Pressing Execute Button(F8).
3.Keep the Break points in the code , go to the line and using the CTRLSHFTF12 option .
Now Debugging Will start, and use F5,F6,F7 to Debug.
and double click the variable and see their values in runtime
Regards
vijay