From 17376317b2c6421569ab99fadaebf7532e46abd6 Mon Sep 17 00:00:00 2001 From: WebFreak001 Date: Sat, 13 Aug 2016 13:38:21 +0200 Subject: [PATCH] Made utility command server warning more clear --- src/mibase.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mibase.ts b/src/mibase.ts index c4fbc93..4b5fc3b 100644 --- a/src/mibase.ts +++ b/src/mibase.ts @@ -65,13 +65,13 @@ export class MI2DebugSession extends DebugSession { }); }); this.commandServer.on("error", err => { - this.handleMsg("stderr", "Code-Debug Utility Command Server: Error in command socket " + err.toString()); + this.handleMsg("stderr", "Code-Debug WARNING: Utility Command Server: Error in command socket " + err.toString() + "\nCode-Debug WARNING: The examine memory location command won't work"); }); if (!fs.existsSync(systemPath.join(os.tmpdir(), "code-debug-sockets"))) fs.mkdirSync(systemPath.join(os.tmpdir(), "code-debug-sockets")); this.commandServer.listen(systemPath.join(os.tmpdir(), "code-debug-sockets", "Debug-Instance-" + Math.floor(Math.random() * 36 * 36 * 36 * 36).toString(36))); } catch (e) { - this.handleMsg("stderr", "Code-Debug Utility Command Server: Failed to start " + e.toString()); + this.handleMsg("stderr", "Code-Debug WARNING: Utility Command Server: Failed to start " + e.toString() + "\nCode-Debug WARNING: The examine memory location command won't work"); } }