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
5a4a3769
Commit
5a4a3769
authored
Sep 02, 2009
by
hjk
Browse files
debugger: fix start up of scriptengine when discovering a script
parent
147131f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/debuggermanager.cpp
View file @
5a4a3769
...
...
@@ -729,9 +729,6 @@ static IDebuggerEngine *determineDebuggerEngine(const QString &executable,
QString
*
errorMessage
,
QString
*
settingsIdHint
)
{
if
(
IDebuggerEngine
*
tce
=
debuggerEngineForToolChain
(
static_cast
<
ProjectExplorer
::
ToolChain
::
ToolChainType
>
(
toolChainType
)))
return
tce
;
if
(
executable
.
endsWith
(
_
(
".js"
)))
{
if
(
!
scriptEngine
)
{
*
errorMessage
=
msgEngineNotAvailable
(
"Script Engine"
);
...
...
@@ -740,6 +737,9 @@ static IDebuggerEngine *determineDebuggerEngine(const QString &executable,
return
scriptEngine
;
}
if
(
IDebuggerEngine
*
tce
=
debuggerEngineForToolChain
(
static_cast
<
ProjectExplorer
::
ToolChain
::
ToolChainType
>
(
toolChainType
)))
return
tce
;
#ifndef Q_OS_WIN
Q_UNUSED
(
settingsIdHint
)
if
(
!
gdbEngine
)
{
...
...
Write
Preview
Supports
Markdown
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