processing-experimental icon indicating copy to clipboard operation
processing-experimental copied to clipboard

Breakpoints don't work in classes

Open marcogillies opened this issue 11 years ago • 2 comments

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);
  }
}

marcogillies avatar Feb 25 '14 08:02 marcogillies

I'm having the same problem.

tracycollins avatar Oct 14 '14 13:10 tracycollins

Also running into the same issue. v2.2.1

christianne-r avatar Jun 10 '15 20:06 christianne-r