QML Debugger: Mangle shadow build filenames

Without doing some magic for the filenames, we go to shadow build files
instead of the real ones, resulting in confusion. The user should never
see the shadow build files while debugging.

Reviewed-by: hjk
This commit is contained in:
Lasse Holmstedt
2010-09-08 13:31:12 +02:00
parent 5fcc438d6b
commit f1ff2a01cc
4 changed files with 108 additions and 4 deletions

View File

@@ -80,7 +80,10 @@ public:
// for qml debugging
QString qmlServerAddress;
quint16 qmlServerPort;
DebuggerEngineType cppEngineType; // for cpp+qml debugging
QString projectBuildDir;
QString projectDir;
// for cpp+qml debugging
DebuggerEngineType cppEngineType;
// for remote debugging
QString remoteChannel;
@@ -274,8 +277,8 @@ public:
void resetLocation();
void openFile(const QString &fileName, int lineNumber = -1);
void gotoLocation(const QString &fileName, int lineNumber, bool setMarker);
void gotoLocation(const StackFrame &frame, bool setMarker);
virtual void gotoLocation(const QString &fileName, int lineNumber, bool setMarker);
virtual void gotoLocation(const StackFrame &frame, bool setMarker);
virtual void quitDebugger(); // called by DebuggerRunControl
signals: