()
| 1050 | |
| 1051 | |
| 1052 | public void handleRun() { |
| 1053 | if (isDebuggerEnabled()) { |
| 1054 | // Hitting Run while a sketch is running should restart the sketch |
| 1055 | // https://github.com/processing/processing/issues/3623 |
| 1056 | if (debugger.isStarted()) { |
| 1057 | debugger.stopDebug(); |
| 1058 | } |
| 1059 | // Don't start the sketch paused, continue until a breakpoint or error |
| 1060 | // https://github.com/processing/processing/issues/3096 |
| 1061 | debugger.continueDebug(); |
| 1062 | |
| 1063 | } else { |
| 1064 | handleLaunch(false, false); |
| 1065 | } |
| 1066 | } |
| 1067 | |
| 1068 | |
| 1069 | public void handlePresent() { |
no test coverage detected