fix bug for not 2d arrays and remove busyTable

This commit is contained in:
Alexander Marchuk
2014-11-19 13:58:41 +03:00
parent 911b2a36e5
commit afcc461543
6 changed files with 4 additions and 31 deletions
+1 -1
View File
@@ -390,7 +390,7 @@ class BaseInterpreterInterface:
name = attr.split("\t")[-1]
array = pydevd_vars.evalInContext(name, self.getNamespace(), self.getNamespace())
metaxml, r, c, f = pydevd_vars.array_to_meta_xml(array, name, format)
array, metaxml, r, c, f = pydevd_vars.array_to_meta_xml(array, name, format)
xml += metaxml
format = '%' + f
if rows == -1 and cols == -1:
+1 -1
View File
@@ -991,7 +991,7 @@ class InternalGetArray(InternalThreadCommand):
xml = "<xml>"
metaxml, rows, cols, format = pydevd_vars.array_to_meta_xml(var, self.name, self.format)
var, metaxml, rows, cols, format = pydevd_vars.array_to_meta_xml(var, self.name, self.format)
xml += metaxml
self.format = '%' + format
if self.rows == -1 and self.cols == -1:
+1 -1
View File
@@ -493,7 +493,7 @@ def array_to_meta_xml(array, name, format):
bounds = (array.min(), array.max())
xml = '<array slice=\"%s\" rows=\"%s\" cols=\"%s\" format=\"%s\" type=\"%s\" max=\"%s\" min=\"%s\"/>' % \
(slice, rows, cols, format, type, bounds[1], bounds[0])
return xml, rows, cols, format
return array, xml, rows, cols, format