Start of Content Area

Background documentation Breakpoints for BSP Page Fragments  Locate the document in its SAP Library structure

Problem

You want to debug a page fragment and use breakpoints to access the relevant coding sections quickly.

However, you cannot set breakpoints directly in page fragments.

Background

The page fragment is copied to the generated method for every BSP that uses it. a result, the debugger cannot determine exactly where the breakpoint must be set.

Solution

With activated HTTP debugging, set the breakpoint in the BSP that uses the page fragment, on the statement exactly before the include directive. As a result, you can quickly branch to the page fragment coding.

Note

You can find additional information about debugging in the Debugger documentation.

 

 

End of Content Area