This patch fixes a serious bug that was causing the Debugger to point to wrong (break point) line numbers.

This commit is contained in:
benfry
2012-12-21 16:55:31 +00:00
parent 069476bb49
commit 54403bd4de
2 changed files with 1 additions and 17 deletions

View File

@@ -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