diff --git a/experiments/modern/src/debugger/Variable.js b/experiments/modern/src/debugger/Variable.js index 77538461..1dd0ac41 100644 --- a/experiments/modern/src/debugger/Variable.js +++ b/experiments/modern/src/debugger/Variable.js @@ -12,7 +12,8 @@ export default function Variable({ variable }) { if (obj == null) { type = "Unknown object"; } else { - type = obj.getclassname(); + // Bit of a hack. We should probably fix this. + type = obj.prototype.getclassname(); } break; }