Debugger: Accepts port range as arguments
authorAurindam Jana <aurindam.jana@digia.com>
Mon, 18 Mar 2013 16:17:52 +0000 (17:17 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 2 Apr 2013 11:26:03 +0000 (13:26 +0200)
commitf15595901b645fc3c168ef18f81ae4617b439e92
treeedcb11ea4a7ee984a0e66b1b1f94fbdf1b08dd2f
parent3e0bcbff98346385ec32bc951cd958d1c1bfb371
Debugger: Accepts port range as arguments

Allow a port range to pass on command line, and try to listen on any of the
ports in the range. (Re)using the ',' separator allows for backwards compatibility,
that is, also Qt 4 will accept a -qmljsdebugger=port:1000,1010 argument, but
will only try to listen on port 1000.

Change-Id: Ic03fe20e4aee9ecdea86651f46f1df5cb19bd75c
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
src/plugins/qmltooling/qmldbg_tcp/qtcpserverconnection.cpp
src/plugins/qmltooling/qmldbg_tcp/qtcpserverconnection.h
src/qml/debugger/qqmldebugserver.cpp
src/qml/debugger/qqmldebugserverconnection_p.h
tests/auto/qml/debugger/qqmldebugjs/tst_qqmldebugjs.cpp
tests/auto/qml/debugger/qqmldebugservice/data/test.qml [new file with mode: 0644]
tests/auto/qml/debugger/qqmldebugservice/qqmldebugservice.pro
tests/auto/qml/debugger/qqmldebugservice/tst_qqmldebugservice.cpp
tests/auto/qml/debugger/shared/debugutil.cpp
tests/auto/qml/debugger/shared/debugutil_p.h