mirror of
https://github.com/processing/processing4.git
synced 2026-02-04 06:09:17 +01:00
@@ -920,7 +920,8 @@ public class Debugger implements VMEventListener {
|
||||
if (!t.isSuspended() || t.frameCount() == 0) {
|
||||
return "";
|
||||
}
|
||||
return t.frame(0).thisObject().referenceType().name();
|
||||
ObjectReference ref = t.frame(0).thisObject();
|
||||
return ref == null ? "" : ref.referenceType().name();
|
||||
|
||||
} catch (IncompatibleThreadStateException ex) {
|
||||
log(Level.SEVERE, null, ex);
|
||||
|
||||
Reference in New Issue
Block a user