From 32fb61f039933a946067cff434e8a3386694a1d4 Mon Sep 17 00:00:00 2001 From: José Bollo Date: Fri, 1 Sep 2017 11:36:54 +0200 Subject: sig-monitor: Dump stack atomically MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Emitting the stack as a single string avoids its accidental split and is better when receiving monitoring events. Change-Id: I74c16f36f026b4af4a42064f694ac1f4a342cc1f Signed-off-by: José Bollo --- test/monitoring/monitor-base.css | 1 + test/monitoring/monitor.js | 1 + 2 files changed, 2 insertions(+) (limited to 'test') diff --git a/test/monitoring/monitor-base.css b/test/monitoring/monitor-base.css index 63838bcc..2efeaf7f 100644 --- a/test/monitoring/monitor-base.css +++ b/test/monitoring/monitor-base.css @@ -168,6 +168,7 @@ body.on #params, body.on #connect, body.off #disconnect { display: none; } .traceevent .content { clear: both; + overflow-x: auto; } .traceevent, .x-button { diff --git a/test/monitoring/monitor.js b/test/monitoring/monitor.js index 22d71824..6ca75cc6 100644 --- a/test/monitoring/monitor.js +++ b/test/monitoring/monitor.js @@ -499,6 +499,7 @@ function obj2html(json) { cls = 'key'; } else { cls = 'string'; + match = match.replace(/\\n/g, "\\n
"); } } else if (/true|false/.test(match)) { cls = 'boolean'; -- cgit 1.2.3-korg