My goal:
Insert lines
breakAtLine("function",linenum);
with controlled stepping through the code.
Given the code below, where and/or how can I set
waiting = false;
I tried keyPressed() and mouseClicked() but they don't seem to be called. I assume they are called once per frame.
boolean waiting;
public void breakAtLine(String name,int linenumber)
{
waiting = true;
println("In "+name+" at line:"+linenumber);
while(waiting)
{
}
}
1