Skip to Content

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?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Sep 05, 2008 at 03:13 PM

    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

    Add comment
    10|10000 characters needed characters exceeded