PY-32276 Do not show containers string representation with "On demand" option

This commit is contained in:
Elizaveta Shashkova
2018-12-04 14:30:43 +03:00
parent 1fca31d9f6
commit 022a868985
@@ -325,7 +325,7 @@ public class PyDebugValue extends XNamedValue {
XValue value = childrenList.getValue(i);
if (value instanceof PyDebugValue) {
PyDebugValue debugValue = (PyDebugValue)value;
if (debugValue.getLoadValuePolicy() == ValuesPolicy.ASYNC || debugValue.isNumericContainer()) {
if (debugValue.getLoadValuePolicy() == ValuesPolicy.ASYNC) {
variables.add(new PyFrameAccessor.PyAsyncValue<>(debugValue, debugValue.createDebugValueCallback()));
}
}