forked from qt-creator/qt-creator
Added debugging mode for simultaneous QML and C++ debugging
It's not yet possible to attach to an external app running a qml debugging server, because the server is only started on startup if an env variable is set. Changing this requires action from Brisbane, but even the current solution works for C++ apps with QML in them. Task-number: BAUHAUS-585 Reviewed-by: dt
This commit is contained in:
@@ -31,14 +31,14 @@
|
||||
#define DEBUGGERRUNNER_H
|
||||
|
||||
#include "debuggermanager.h"
|
||||
|
||||
#include "debugger_global.h"
|
||||
#include <projectexplorer/runconfiguration.h>
|
||||
#include <projectexplorer/applicationrunconfiguration.h>
|
||||
|
||||
namespace Debugger {
|
||||
namespace Internal {
|
||||
|
||||
class DebuggerRunControlFactory
|
||||
class DEBUGGER_EXPORT DebuggerRunControlFactory
|
||||
: public ProjectExplorer::IRunControlFactory
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -63,7 +63,7 @@ private:
|
||||
};
|
||||
|
||||
// This is a job description
|
||||
class DebuggerRunControl
|
||||
class DEBUGGER_EXPORT DebuggerRunControl
|
||||
: public ProjectExplorer::RunControl
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -73,6 +73,7 @@ public:
|
||||
ProjectExplorer::LocalApplicationRunConfiguration *runConfiguration);
|
||||
DebuggerRunControl(DebuggerManager *manager, const DebuggerStartParametersPtr &startParameters);
|
||||
|
||||
void setCustomEnvironment(ProjectExplorer::Environment env);
|
||||
|
||||
// ProjectExplorer::RunControl
|
||||
virtual void start();
|
||||
|
||||
Reference in New Issue
Block a user