Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
2cc89591
Commit
2cc89591
authored
Apr 15, 2009
by
Friedemann Kleint
Browse files
Introduce option -enable-cdb to enable CDB.
Reviewed-by:
hjk
<
qtc-committer@nokia.com
>
parent
800a48f0
Changes
5
Hide whitespace changes
Inline
Side-by-side
doc/qtcreator.qdoc
View file @
2cc89591
...
...
@@ -1297,7 +1297,10 @@
When building \e{Qt Creator} using the \e{Microsoft Visual C++ Compiler},
the location \c{"%ProgramFiles%\Debugging Tools for Windows"} will be checked
for the required include files.
\
\note As of version 1.2, the command line option \c{-enable-cdb} has to be passed
to Qt Creator to enable support for this engine.
\endtable
*/
...
...
src/plugins/debugger/Debugger.pluginspec
View file @
2cc89591
...
...
@@ -24,4 +24,7 @@ will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.</license>
<dependency name="Core" version="1.1.80"/>
<dependency name="Find" version="1.1.80"/>
</dependencyList>
<argumentList>
<argument name="-enable-cdb"/>
</argumentList>
</plugin>
src/plugins/debugger/debuggermanager.cpp
View file @
2cc89591
...
...
@@ -148,9 +148,9 @@ extern IDebuggerEngine *createWinEngine(DebuggerManager *)
#endif
extern
IDebuggerEngine
*
createScriptEngine
(
DebuggerManager
*
parent
);
DebuggerManager
::
DebuggerManager
()
DebuggerManager
::
DebuggerManager
(
const
QStringList
&
arguments
)
{
init
();
init
(
arguments
);
}
DebuggerManager
::~
DebuggerManager
()
...
...
@@ -160,7 +160,7 @@ DebuggerManager::~DebuggerManager()
delete
scriptEngine
;
}
void
DebuggerManager
::
init
()
void
DebuggerManager
::
init
(
const
QStringList
&
arguments
)
{
m_status
=
-
1
;
m_busy
=
false
;
...
...
@@ -427,7 +427,8 @@ void DebuggerManager::init()
setStatus
(
DebuggerProcessNotReady
);
gdbEngine
=
createGdbEngine
(
this
);
winEngine
=
createWinEngine
(
this
);
if
(
arguments
.
contains
(
QLatin1String
(
"-enable-cdb"
)))
winEngine
=
createWinEngine
(
this
);
scriptEngine
=
createScriptEngine
(
this
);
setDebuggerType
(
GdbDebugger
);
if
(
Debugger
::
Constants
::
Internal
::
debug
)
...
...
src/plugins/debugger/debuggermanager.h
View file @
2cc89591
...
...
@@ -178,7 +178,7 @@ class DebuggerManager : public QObject,
Q_OBJECT
public:
DebuggerManager
();
DebuggerManager
(
const
QStringList
&
arguments
);
~
DebuggerManager
();
IDebuggerManagerAccessForEngines
*
engineInterface
();
...
...
@@ -341,7 +341,7 @@ public:
bool
m_useTerminal
;
private:
void
init
();
void
init
(
const
QStringList
&
arguments
);
void
setDebuggerType
(
DebuggerType
type
);
void
runTest
(
const
QString
&
fileName
);
QDockWidget
*
createDockForWidget
(
QWidget
*
widget
);
...
...
src/plugins/debugger/debuggerplugin.cpp
View file @
2cc89591
...
...
@@ -470,7 +470,7 @@ bool DebuggerPlugin::initialize(const QStringList &arguments, QString *errorMess
Q_UNUSED
(
arguments
);
Q_UNUSED
(
errorMessage
);
m_manager
=
new
DebuggerManager
;
m_manager
=
new
DebuggerManager
(
arguments
)
;
ICore
*
core
=
ICore
::
instance
();
QTC_ASSERT
(
core
,
return
false
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment