Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Debug a protected method

While developping a class, it is possible to debug the methods in a stand alone mode. Unfortunately, the protected methods are not visible, only the public ones.

Is there any other way instead of making a method temporarily public to executea protected method in the test sceanrio?

Tags:
Former Member
replied

Set break point just before the private method is called and once in debugger , go to menu and select : Settings -> System Debuging.

This should enable going through the system routines as well.

Hope this helps.

Franc

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question