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

Breakpoint List

Former Member
0 Likes
2,980

If I save a breakpoint, it persists for the remainder of my user session. This leads me to believe that somewhere in memory is an internal table that holds the breakpoint info like include, line number, command, etc. The same information that you would find on the breakpoints tab in the debugger. Does anyone know what this table is or how I can access it? I'd assume that if I had the memory id I could get at it with an IMPORT statement. Thanks in advance.

1 ACCEPTED SOLUTION
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
2,711

Please go through the logic written in program RSBREAKPOINTS. It uses the select statements from abdbg_info,abdbg_bps,icfattrib.

7 REPLIES 7
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
2,712

Please go through the logic written in program RSBREAKPOINTS. It uses the select statements from abdbg_info,abdbg_bps,icfattrib.

Read only

0 Likes
2,711

Here it is, Use function RS_GET_BREAKPOINTS to get the list. The importing parameter must hold the type SY-REPID and the table parameter must be referred to structure BREAKPOINT.

Read only

0 Likes
2,711

Hi Kesav,

I tried the FM , but its giving dump UC_OBJECTS_NOT_CONVERTIBLE.

Read only

0 Likes
2,711

Well, I did not check it I just got it through debugging. I will check it tomorrow and update it.

Read only

0 Likes
2,711

Did you refer the breakpoint to a table or a structure? It has to be a table.

And the program should be 40 characters.

Rob

PS - I tried it and it works just as Kesav said.

Message was edited by: Rob Burbank

Read only

Former Member
0 Likes
2,711

Hi Fname,

By the way, can you let us know what is the purpose of getting to know about the break-points? Just curious to know your requirement.

Regards,

Karthik D

Read only

Former Member
0 Likes
2,711

Thanks for all the help guys, I appreciate it. I apologize for not being very responsive. This isn't for a real requirement, it was just a random idea that I had and wanted to pursue. I frequently have to have a separate session open for the sole purpose of setting breakpoints. I was hoping it would be possible to write a simple program that would show me all my current breakpoints and allow me to easily set new breakpoints at a specific include and line number. I've since found some standard SAP programs/function modules that seem to let me set breakpoints (though I haven't tested then thoroughly), so I'm thinking I might not need to reinvent the wheel here. What would be really nice though is if I could put in include/line number/client and set breakpoints in multiple clients from one place.