Skip to content

Commit 0f2bfb1

Browse files
committed
Restore fix for debugger button from #74.
Restore fix from d126c70 that were lost when accepting changes on master from 200afc4.
1 parent 1a90b30 commit 0f2bfb1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

java/src/processing/mode/java/JavaEditor.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1862,6 +1862,7 @@ public void deactivateStep() {
18621862
public void toggleDebug() {
18631863
// debugEnabled = !debugEnabled;
18641864

1865+
debugger.toggleEnabled();
18651866
rebuildToolbar();
18661867
repaint(); // show/hide breakpoints in the gutter
18671868

java/src/processing/mode/java/debug/Debugger.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ public boolean isEnabled() {
198198
}
199199

200200

201-
void toggleEnabled() {
201+
public void toggleEnabled() {
202202
enabled = !enabled;
203203

204204
if (enabled) {

0 commit comments

Comments
 (0)