cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

External Breakpoints

Former Member
0 Likes
6,328

Hi Everyone,

I am not sure if this should be posted in the ABAP forums or Basis forum. I finally decided to post in the ABAP Forums as i thought ABAPers would be having a better idea of what the issue is .

I need to debug a function module. I am not sure what calls this function module, the only thing I am sure of is that it is called when clicking a button in BSP. Previously, I used to debug Webdynpro code by using "External Breakpoints". However, I was not able to find any option to enable external breakpoints.

I was just wondering, if the external breakpoints option could be restricted via Basis authorizations. If so, how could I enable them. Also, Also, is there any way i can get the debug screen after i run the BSP application.

Thanks in advance for any help and suggestions.

Cheers,

Mz

View Entire Topic
Former Member
0 Likes

Create a shortcut for debugger.

Procedure to create shortcut.

Click on Generate shortcut button.

Create New SAP shortcut pop up window will appear.

Tile : Debug.

Type : system command (select the system command option)

Command : /h

The remaining options are default.

Now a shortcut will be created in SAP Logon pad Shortcut tab

You can drag that shortcut Debug to your desktop a shortcut is created in desktop.

Now you can drag that Debug to any window of SAP you wish to Debug.

You can also place that Debug on a pop up window also.

matt
Active Contributor
0 Likes

I've moved your thread to this forum, in the hope you'll get some sensible responses from people who actually know what they're talking about.

Setting external breakpoints depends on what version of SAP you're on. In most recent versions there are two debug buttons in the editor, one for session, one for external. In older versions, you have to go the editor settings, and choose the debugging tab, to activate external breakpoints.

matt

Former Member
0 Likes

Thanks Matt for moving my Post.

Sorry for any inconveniences caused.

Thanks for the suggestions too. I will have a look and post back

Former Member
0 Likes

Hi All,

Here is a quick update of my issue.

I managed to enable Breakpoints and set break-points using Utilities->break-points->Set/Delete. I successfully placed HTTP breakpoint but when i run the BSP application, the breakpoint is not stopping. I know its going through the code because the values are getting populated in the table.

Any suggestions would be appreciated.

Thanks,

Mz

matt
Active Contributor
0 Likes

I sometimes get this, and there's probably a really simple explanation - but I don't know what it is. So in these situations, I put in an eternal loop:

data: x type flag.
while x is initial.
endwhile

Then in SM50, I can see when the application has entered this loop, and I can open the debugger. I set the value of "x" to be "x", which terminates the loop, and I can then debug the part I'm interested in.

matt

GrahamRobbo
SAP Mentor
SAP Mentor
0 Likes

There is a SAP note that gives a few things to check to trigger external debugging - unfortunately I don't know the note number. :}

One thing that often works for me is to go to transaction SICF. Hit the execute button then navigate to Edit->Debugging->Activate Debugging. Click the Activate button.

Cheers

Graham Robbo