mirror of
https://github.com/processing/processing4.git
synced 2026-02-14 10:55:38 +01:00
This patch fixes a serious bug that was causing the Debugger to point to wrong (break point) line numbers.
This commit is contained in:
@@ -162,8 +162,6 @@ public class ErrorBar extends JPanel {
|
||||
int currentTab = 0;
|
||||
for (SketchCode sc : editor.getSketch().getCode()) {
|
||||
if (sc.isExtension("pde")) {
|
||||
sc.setPreprocOffset(bigCount);
|
||||
|
||||
try {
|
||||
if (editor.getSketch().getCurrentCode().equals(sc)) {
|
||||
// Adding + 1 to len because \n gets appended
|
||||
|
||||
Reference in New Issue
Block a user