aboutsummaryrefslogtreecommitdiffstats
path: root/src/qtvstools/QML/Debugging/AD7/QmlDebugAD7Engine.cs
diff options
context:
space:
mode:
authorMiguel Costa <miguel.costa@qt.io>2018-12-20 18:27:32 +0100
committerMiguel Costa <miguel.costa@qt.io>2019-01-07 14:33:26 +0000
commitf826db692bbc682ca90e736977ccb2d82f2216fa (patch)
treeb401aa67060fac8c77a20bd19eb350bffa7e6ea2 /src/qtvstools/QML/Debugging/AD7/QmlDebugAD7Engine.cs
parente76a53f6d5816d102c9c7b876c6c175f74056b10 (diff)
Add debug messages to the QML debug engine
Issue some additional debug messages from the QML debug engine. These messages will be shown in the 'Debug' output window of Visual Studio. Task-number: QTVSADDINBUG-599 Change-Id: I30e26b8c90189cd80d0cf05c516a5a61100ab08e Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/qtvstools/QML/Debugging/AD7/QmlDebugAD7Engine.cs')
-rw-r--r--src/qtvstools/QML/Debugging/AD7/QmlDebugAD7Engine.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/qtvstools/QML/Debugging/AD7/QmlDebugAD7Engine.cs b/src/qtvstools/QML/Debugging/AD7/QmlDebugAD7Engine.cs
index cd2b39c3..41f6260b 100644
--- a/src/qtvstools/QML/Debugging/AD7/QmlDebugAD7Engine.cs
+++ b/src/qtvstools/QML/Debugging/AD7/QmlDebugAD7Engine.cs
@@ -192,6 +192,8 @@ namespace QtVsTools.Qml.Debug.AD7
DebugEvent.Send(new LoadCompleteEvent(program));
DebugEvent.Send(new EntryPointEvent(program));
+ program.OutputWriteLine("Connecting to the QML runtime...");
+
return VSConstants.S_OK;
}
@@ -262,6 +264,10 @@ namespace QtVsTools.Qml.Debug.AD7
pendingBreakpoint.Dispose();
}
+ public void OutputWriteLine(string msg)
+ {
+ DebugEvent.Send(new OutputStringEvent(this, msg + "\r\n"));
+ }
#region //////////////////// Concurrent ///////////////////////////////////////////////////