Search code examples
abapbreakpoints

User-specific ABAP breakpoint acts weird


Why the statement

BREAK-POINT 'my username'.  

affects not only me but other users too? Am I insane? Maybe this is a problem of permissions or any other reason? Can anybody explain me?

This statement is located in method body in class which implements BAdI.


Solution

  • If you want to use break points only for your username, you have to use it like this:

    BREAK username.
    

    If you use

    BREAK-POINT.
    

    it is going to affect everyone.

    The actual meaning of BREAK-POINT 'my username'. is completely different (comment from vwegert):

    See the documentation of BREAK-POINT - you've been using your user name as a log text