diff --git a/python/helpers/pydev/_pydevd_bundle/tables/images/pydevd_matplotlib_image.py b/python/helpers/pydev/_pydevd_bundle/tables/images/pydevd_matplotlib_image.py index c9e71c12e106..f210bc34b3de 100644 --- a/python/helpers/pydev/_pydevd_bundle/tables/images/pydevd_matplotlib_image.py +++ b/python/helpers/pydev/_pydevd_bundle/tables/images/pydevd_matplotlib_image.py @@ -15,7 +15,7 @@ def create_image(matplotlib_figure): bytes_data = bytes_buffer.getvalue() image_id = str(uuid.uuid4()) IMAGE_DATA_STORAGE[image_id] = bytes_data - return "{}".format(image_id) + return "{};{}".format(image_id, len(bytes_data)) finally: bytes_buffer.close() except Exception as e: diff --git a/python/helpers/pydev/_pydevd_bundle/tables/images/pydevd_numpy_based_image.py b/python/helpers/pydev/_pydevd_bundle/tables/images/pydevd_numpy_based_image.py index 6a3ab27f3a5d..a53adeceb738 100644 --- a/python/helpers/pydev/_pydevd_bundle/tables/images/pydevd_numpy_based_image.py +++ b/python/helpers/pydev/_pydevd_bundle/tables/images/pydevd_numpy_based_image.py @@ -64,7 +64,7 @@ def create_image(arr): bytes_data = bytes_buffer.getvalue() image_id = str(uuid.uuid4()) IMAGE_DATA_STORAGE[image_id] = bytes_data - return image_id + return "{};{}".format(image_id, len(bytes_data)) finally: bytes_buffer.close() diff --git a/python/helpers/pydev/_pydevd_bundle/tables/images/pydevd_numpy_image.py b/python/helpers/pydev/_pydevd_bundle/tables/images/pydevd_numpy_image.py index 1549b1608486..2913967eb323 100644 --- a/python/helpers/pydev/_pydevd_bundle/tables/images/pydevd_numpy_image.py +++ b/python/helpers/pydev/_pydevd_bundle/tables/images/pydevd_numpy_image.py @@ -46,7 +46,7 @@ def create_image(arr): bytes_data = bytes_buffer.getvalue() image_id = str(uuid.uuid4()) IMAGE_DATA_STORAGE[image_id] = bytes_data - return image_id + return "{};{}".format(image_id, len(bytes_data)) finally: bytes_buffer.close() diff --git a/python/helpers/pydev/_pydevd_bundle/tables/images/pydevd_pillow_image.py b/python/helpers/pydev/_pydevd_bundle/tables/images/pydevd_pillow_image.py index acfe8c59c8f7..dedbab77d4b8 100644 --- a/python/helpers/pydev/_pydevd_bundle/tables/images/pydevd_pillow_image.py +++ b/python/helpers/pydev/_pydevd_bundle/tables/images/pydevd_pillow_image.py @@ -15,7 +15,7 @@ def create_image(pillow_image): bytes_data = bytes_buffer.getvalue() image_id = str(uuid.uuid4()) IMAGE_DATA_STORAGE[image_id] = bytes_data - return "{}".format(image_id) + return "{};{}".format(image_id, len(bytes_data)) finally: bytes_buffer.close() except Exception as e: diff --git a/python/pluginResources/messages/PyBundle.properties b/python/pluginResources/messages/PyBundle.properties index 0528115db94f..d56039eee85d 100644 --- a/python/pluginResources/messages/PyBundle.properties +++ b/python/pluginResources/messages/PyBundle.properties @@ -781,6 +781,7 @@ debugger.data.view.failed.to.evaluate.expression=Failed to evaluate the expressi debugger.data.view.numpy.is.not.available=NumPy is not available. Install the module for proper data display. debugger.data.view.type.is.not.supported={0} is not supported debugger.data.view.empty.tab=Empty +debugger.data.view.loading.image=Loading image\u2026 debugger.numeric.view.as.dataframe=View as DataFrame debugger.numeric.view.as.array=View as Array debugger.numeric.view.as.series=View as Series