Breakpoints don't seem to work when placed within classes. If I create a breakpoint in a class the debugger never stops. For example, in the following code, if I place a breakpoint inside Ball.display the debugger won't stop (if I place it in the main draw function it does)
Ball b;
void setup()
{
size(300, 300);
b = new Ball(100, 100);
}
void draw()
{
b.display();
}
class Ball
{
int x, y;
Ball(int _x, int _y)
{
this.x = _x;
this.y = _y;
}
void display()
{
ellipse(x,y,20,20);
}
}
Breakpoints don't seem to work when placed within classes. If I create a breakpoint in a class the debugger never stops. For example, in the following code, if I place a breakpoint inside Ball.display the debugger won't stop (if I place it in the main draw function it does)