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

Please help me with the debugger problem

Former Member
0 Likes
1,251

I got some error information from ST22 shows below.

________________________________________________________

Information on where terminated

Termination occurred in the ABAP program "CL_GUI_FRONTEND_SERVICES======CP" -

in "CONSTRUCTOR".

The main program was "SAPMSSY1 ".

In the source code you have the termination point in line 28

of the (Include) program "CL_GUI_FRONTEND_SERVICES======CM002".

________________________________________________________________________________

I want to locate the codes where the error happens, so I think I can set a breakpoint at source codes as below, but the SAP system gives me the error: the breakpoints could not be created due to incorrect entry.

program: SAPMSSY1

include: CL_GUI_FRONTEND_SERVICES======CM002

row: 28

Could you please give me some ideas how to set the breakpoint? Thanks a lot.

Best,

Bing

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
947

Hi Noyan,

As mentioned in the above post need to put the break point that way or the name of include mentioned or function module mentioned set a break point there .

Break point-->statement/subroutine/function module/system exception

Mohinder Singh

Edited by: Mohinder Singh Chauhan on Jul 18, 2008 7:24 AM

5 REPLIES 5
Read only

Former Member
0 Likes
947

hi,

You may set a break point by writing it explicitly in the code.

It may help you.

Regards,

Anirban

Read only

0 Likes
947

Hi Anirban,

Thanks you very much for the reply, but I don't quite understand what you mean. Do you mean I should double click the line where I want to set a break point at? But my problem is my program calls so many other subroutines that I don't know which line I should set the break point at. That is why I have to turn to the "source code" break point.

Meanwhile, I think I have to find out at which line in the main program the subroutine, which causes the error, has been called. Is that possible?

Thank you so much for your time.

Best,

Bing

Read only

0 Likes
947

Does anyone can help me with that? I am kind of stuck there.

Thanks a lot.

Best,

Bing

Read only

former_member787646
Contributor
0 Likes
947

Hi

Execute the program in the Debuggin mode.

In the Debugger Window

Select Breakpoint -> Break point at -> Breakpoint at source code Menu Item and enter the details of the program/include/line no..

Activate the System Debugger On from the Settings Menu.

Hope this would help you.

Murthy

Edited by: Kalyanam Seetha Rama Murthy on Jul 18, 2008 7:20 AM

Read only

Former Member
0 Likes
948

Hi Noyan,

As mentioned in the above post need to put the break point that way or the name of include mentioned or function module mentioned set a break point there .

Break point-->statement/subroutine/function module/system exception

Mohinder Singh

Edited by: Mohinder Singh Chauhan on Jul 18, 2008 7:24 AM