‎2012 May 22 4:01 PM
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.
‎2012 May 22 6:01 PM
Please go through the logic written in program RSBREAKPOINTS. It uses the select statements from abdbg_info,abdbg_bps,icfattrib.
‎2012 May 22 6:01 PM
Please go through the logic written in program RSBREAKPOINTS. It uses the select statements from abdbg_info,abdbg_bps,icfattrib.
‎2012 May 23 8:10 AM
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.
‎2012 May 23 7:13 PM
Hi Kesav,
I tried the FM , but its giving dump UC_OBJECTS_NOT_CONVERTIBLE.
‎2012 May 23 7:27 PM
Well, I did not check it I just got it through debugging. I will check it tomorrow and update it.
‎2012 May 23 7:33 PM
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
‎2012 May 23 8:29 AM
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
‎2012 May 24 7:57 PM
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.