Call class instance method while debugging in eclipse

前端 未结 1 449
花落未央
花落未央 2021-01-13 07:20

How do I call a class instance method while debugging in eclipse?

For example lets say I have the following code:

...
Canvas canvas = m_SurfaceHolder         


        
相关标签:
1条回答
  • 2021-01-13 07:37

    Open the Display view, type the code you want to execute in it, select it, right-click, and click "Execute", "Display" or "Inspect", depending on what you want to do.

    0 讨论(0)
提交回复
热议问题