Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
2b1ad2f9
Commit
2b1ad2f9
authored
May 09, 2011
by
hjk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debugger: re-do the 'bbsetup' after sourcing a user script
parent
a4c86028
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/plugins/debugger/gdb/gdbengine.cpp
src/plugins/debugger/gdb/gdbengine.cpp
+2
-0
No files found.
src/plugins/debugger/gdb/gdbengine.cpp
View file @
2b1ad2f9
...
...
@@ -4475,6 +4475,8 @@ bool GdbEngine::startGdb(const QStringList &args, const QString &settingsIdHint)
if
(
!
scriptFileName
.
isEmpty
())
{
if
(
QFileInfo
(
scriptFileName
).
isReadable
())
{
postCommand
(
"source "
+
scriptFileName
.
toLocal8Bit
());
// Re-do the setup, as the "source" might have changed something.
postCommand
(
"bbsetup"
,
ConsoleCommand
,
CB
(
handleHasPython
));
}
else
{
showMessageBox
(
QMessageBox
::
Warning
,
tr
(
"Cannot find debugger initialization script"
),
...
...
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