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
a46e71d0
Commit
a46e71d0
authored
Jul 31, 2009
by
Friedemann Kleint
Browse files
Debugger: Fixed assert when debugging a core-file without project.
Task-number: 256215
parent
9ababff5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/debuggerplugin.cpp
View file @
a46e71d0
...
...
@@ -1271,6 +1271,8 @@ void DebuggerPlugin::attachCore()
sp
->
executable
=
dlg
.
executableFile
();
sp
->
coreFile
=
dlg
.
coreFile
();
QSharedPointer
<
RunConfiguration
>
rc
=
activeRunConfiguration
();
if
(
rc
.
isNull
())
rc
=
DebuggerRunner
::
createDefaultRunConfiguration
();
if
(
RunControl
*
runControl
=
m_debuggerRunner
->
run
(
rc
,
ProjectExplorer
::
Constants
::
DEBUGMODE
,
sp
,
AttachCore
))
runControl
->
start
();
...
...
@@ -1303,6 +1305,8 @@ void DebuggerPlugin::startRemoteApplication()
sp
->
serverStartScript
=
dlg
.
serverStartScript
();
QSharedPointer
<
RunConfiguration
>
rc
=
activeRunConfiguration
();
if
(
rc
.
isNull
())
rc
=
DebuggerRunner
::
createDefaultRunConfiguration
();
if
(
RunControl
*
runControl
=
m_debuggerRunner
->
run
(
rc
,
ProjectExplorer
::
Constants
::
DEBUGMODE
,
sp
,
StartRemote
))
runControl
->
start
();
...
...
@@ -1336,6 +1340,8 @@ void DebuggerPlugin::attachRemoteTcf()
sp
->
serverStartScript
=
dlg
.
serverStartScript
();
QSharedPointer
<
RunConfiguration
>
rc
=
activeRunConfiguration
();
if
(
rc
.
isNull
())
rc
=
DebuggerRunner
::
createDefaultRunConfiguration
();
if
(
RunControl
*
runControl
=
m_debuggerRunner
->
run
(
rc
,
ProjectExplorer
::
Constants
::
DEBUGMODE
,
sp
,
AttachTcf
))
runControl
->
start
();
...
...
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