forked from qt-creator/qt-creator
QNX: Enable QML debugging for pure QNX devices
This includes fixing the application arguments when launching the application through gdb. As the application is launched by passing it as an argument to -exec-run (or run), the application arguments needs to go in the same command. -exec-run won't care about arguments set with -exec-arguments when being passed the application binary. Change-Id: I869acbedd2593a931bf5c3d88559ea2bda2c3ff1 Reviewed-by: hjk <hjk121@nokiamail.com> Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com> Reviewed-by: Aurindam Jana <aurindam.jana@digia.com>
This commit is contained in:
committed by
Tobias Nätterlund
parent
2a8a411b21
commit
bd4105def7
@@ -72,6 +72,8 @@ private:
|
||||
void startExecution();
|
||||
void setFinished();
|
||||
|
||||
QString executable() const;
|
||||
|
||||
enum State {
|
||||
Inactive,
|
||||
GatheringPorts,
|
||||
@@ -79,14 +81,17 @@ private:
|
||||
Debugging
|
||||
};
|
||||
|
||||
const QString m_executable;
|
||||
const QString m_remoteExecutable;
|
||||
const QString m_commandPrefix;
|
||||
const QString m_arguments;
|
||||
ProjectExplorer::IDevice::ConstPtr m_device;
|
||||
ProjectExplorer::DeviceApplicationRunner *m_runner;
|
||||
ProjectExplorer::DeviceUsedPortsGatherer * m_portsGatherer;
|
||||
Debugger::DebuggerEngine *m_engine;
|
||||
int m_port;
|
||||
int m_pdebugPort;
|
||||
int m_qmlPort;
|
||||
|
||||
bool m_useCppDebugger;
|
||||
bool m_useQmlDebugger;
|
||||
|
||||
State m_state;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user