mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix bug for not 2d arrays and remove busyTable
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user