forked from qt-creator/qt-creator
Debugger: Fix QML-only debugging on Harmattan
Actually wait for the 'Waiting for debugger on port ' ... message to appear in the application output before connecting, and also use the port specified there. Change-Id: Ib498e5306bc49f2f3d468353b1c5d1ea38a809e6 Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
This commit is contained in:
@@ -5,6 +5,8 @@ namespace QmlJsDebugClient {
|
||||
namespace Constants {
|
||||
|
||||
const char STR_WAITING_FOR_CONNECTION[] = "Waiting for connection ";
|
||||
const char STR_ON_PORT_PATTERN[] = "on port (\\d+)";
|
||||
const char STR_VIA_OST[] = "via OST";
|
||||
const char STR_UNABLE_TO_LISTEN[] = "Unable to listen ";
|
||||
const char STR_IGNORING_DEBUGGER[] = "Ignoring \"-qmljsdebugger=";
|
||||
const char STR_IGNORING_DEBUGGER2[] = "Ignoring\"-qmljsdebugger="; // There is (was?) a bug in one of the error strings - safest to handle both
|
||||
|
||||
Reference in New Issue
Block a user