BUG 8562 "The box to show contents of a variable in the Debugger... " SOLVED

- amos is right, the var. value was showing as html and not as self string
- the problem was solved parsing to its html entities equivalent and it is showing now.
This commit is contained in:
Erik Amaru Ortiz
2012-03-12 10:53:06 -04:00
parent cb948db766
commit 3fc1318ce2
2 changed files with 108 additions and 78 deletions

View File

@@ -99,7 +99,12 @@ Ext.onReady(function(){
//set debug variable details
debugVariables.getSelectionModel().on('rowselect', function(sm, rowIdx, r) {
var detailPanel = Ext.getCmp('debug-details-panel');
debugVarTpl.overwrite(detailPanel.body, r.data);
var d = {}
d.name = r.data.name;
d.value = parent.parent.htmlentities ? parent.parent.htmlentities(r.data.value) : r.data.value;
debugVarTpl.overwrite(detailPanel.body, d);
detailPanel.setTitle(r.data.name);
if(r.data.value == '<object>' || r.data.value == '<array>' ){