Debug call class instance method in eclipse

How do I call the class instance method during debugging in eclipse?

For example, let's say I have the following code:

...
Canvas canvas = m_SurfaceHolder.lockCanvas();
canvas.drawColor(0xff000000);
...

And I have a breakpoint on the canvas.drawColor line. When I debug, the code stops at this line and I can view the variables inside the canvas, but I also want to be able to call methods inside the canvas to see what they return, as I can, in visual studio, is this possible?

+5
source share
1 answer

"", , , , "", "" "", , .

+9

All Articles