}
final ConnectedTargetData connectedTargetData = wrapper.getConnectedTargetData();
if (connectedTargetData == null) {
return null;
}
final Value value = wrapper.getValue();
if (value == null || !value.isTruncated()) {
return null;
}
return new Runnable() {
public void run() {
Value.ReloadValueCallback callback = new Value.ReloadValueCallback() {
public void done(boolean changed) {
if (changed) {
DebugEvent event =
new DebugEvent(wrapper.getDebugElement(), DebugEvent.CHANGE, DebugEvent.CONTENT);
DebugTargetImpl.fireDebugEvent(event);
}
}
};
value.reloadBiggerValue(callback);
}
};
}