summaryrefslogtreecommitdiff
path: root/js/Misc/DEBUG.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Misc/DEBUG.js')
-rw-r--r--js/Misc/DEBUG.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Misc/DEBUG.js b/js/Misc/DEBUG.js
index 7f507143..3cb017bb 100644
--- a/js/Misc/DEBUG.js
+++ b/js/Misc/DEBUG.js
@@ -5,7 +5,7 @@ function DEBUG() {
this.model.sim = list(new ScilabString(["%debug_scicos"]), new ScilabDouble([99]));
this.model.blocktype = new ScilabString(["d"]);
var exprs = list("","xcos_debug_gui(flag,block);");
- var gr_i = [];
+ var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"DEBUG\",sz(1),sz(2));"]);
this.x = standard_define([8,2],this.model,exprs,gr_i);
return new BasicBlock(this.x);
}