cancel
Showing results for 
Search instead for 
Did you mean: 

Using a BREAK-POINT in BSP applications

daniel_humberg
Employee
Employee
0 Kudos
69

I am trying to set a hard-coded break point in my BSP application (for example in DO_REQUEST of my controller class) (the break statement is surrounded by some IF statements, so only enabled in some specific situations).

I just read in the documentation of the break statement:

-


In http sessions ( BSP), the system will stop at the BREAK-POINT statement only if, before execution, additional dynamic http breakpoints are set in the editor of an BSP page. Otherwise, only one entry is written to the system log.

-


Is there any way to enable that BREAK-POINT without setting the dynamic breakpoint in the editor? In other words: Is there a way to create and add a dynamic breakpoint via coding?

Accepted Solutions (0)

Answers (1)

Answers (1)

raja_thangamani
Active Contributor
0 Kudos

Yes its possible..

Just add the statement "BREAK-POINT." & Activate the HTTP break points(utilities-->External break-point->activate for HTTP users).

Raja T

daniel_humberg
Employee
Employee
0 Kudos

Hi Raja,

as the docu said, the BREAK-POINT will only work if you have added another dynamic breakpoint in the editor already.

Regards, D.

raja_thangamani
Active Contributor
0 Kudos

Just i tried...its working with only BREAK-POINT statement...I didnt add any other break points in the editor..

<i>* Reward each useful answer</i>

Raja T

daniel_humberg
Employee
Employee
0 Kudos

Hi Raja,

for me, the breakpoint did not come up.

So it is probably a settings issue or a system issue.

Which setting are you exactly talking about:

> utilities-->External break-point->activate for HTTP users).

Which system are you using (i use a 640 SP19 system)

Regards, D.

raja_thangamani
Active Contributor
0 Kudos

I checked in ECC 5.0..

<i>utilities-->External break-point->activate for HTTP users).</i>

Check your where you can<b> enable the external debugging</b>..

or check out this path..

utilities-->setttings -> ABAP Workbench -> look at the debugger tab

& find the external Debugging check box or External Debugging user ID. Give SAP User ID

Raja T

daniel_humberg
Employee
Employee
0 Kudos

Hi Raja,

I had tried this already:

utilities-->setttings -> ABAP Workbench -> debugger -> External Debugging.

The checkbox and my SAP User Id were already there.

So I guess it is simply not working in an 640 system (?).

Regards,

Daniel