Skip to content

Commit c570b6d

Browse files
authored
Merge pull request #1227 from awood0727/debugFixUpdate
Updated fix for the debugger issue
2 parents e56e281 + 8f418a2 commit c570b6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

java/src/processing/mode/java/debug/LineBreakpoint.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,8 @@ public String toString() {
207207
*/
208208
protected String className() {
209209
if (line.fileName().endsWith(".pde")) {
210-
// standard tab
211-
return dbg.getEditor().getSketch().getName();
210+
// pure pde tab
211+
return line.fileName().substring(0, line.fileName().lastIndexOf(".pde"));
212212
}
213213

214214
if (line.fileName().endsWith(".java")) {

0 commit comments

Comments
 (0)