Skip to content

Commit abb84e0

Browse files
committed
get debugger working when toggled from menu (fixes #282)
1 parent 046b652 commit abb84e0

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public void populateMenu(JMenu modeMenu) {
125125
debugItem = Toolkit.newJMenuItem(Language.text("menu.debug.enable"), 'D');
126126
debugItem.addActionListener(new ActionListener() {
127127
public void actionPerformed(ActionEvent e) {
128-
toggleEnabled();
128+
editor.toggleDebug();
129129
}
130130
});
131131
debugMenu.add(debugItem);

todo.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ X https://github.com/processing/processing4/issues/254
1919
X https://github.com/processing/processing4/issues/280 (duplicate)
2020
X Movie Maker broken with spaces in path (converted to %20)
2121
X https://github.com/processing/processing4/issues/268
22+
X debugger not working
23+
X https://github.com/processing/processing4/issues/282
24+
X turned out to be a problem when using menu, not button to enable/disable
2225

2326
contribs
2427
X fix minor typos in the PWM code for the IO library
@@ -46,8 +49,6 @@ _ probably related to second displays, need to hook one up and test
4649
_ https://github.com/processing/processing4/issues/194
4750

4851
investigate
49-
_ debugger not working
50-
_ https://github.com/processing/processing4/issues/282
5152
_ Anti-aliasing/smoothing in createFont when disabled
5253
_ https://github.com/processing/processing4/issues/278
5354
X couldn't reproduce, but probably an issue in there somewhere

0 commit comments

Comments
 (0)