Skip to content
GitLab
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
1c110388
Commit
1c110388
authored
Mar 23, 2009
by
hjk
Browse files
debugger: work on using prebuilt dumpers
parent
f8f5263b
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/debuggeractions.cpp
View file @
1c110388
...
...
@@ -424,6 +424,7 @@ DebuggerSettings *theDebuggerSettings()
item
=
new
DebuggerAction
(
instance
);
instance
->
insertItem
(
BuildDumpersOnTheFly
,
item
);
item
->
setDefaultValue
(
true
);
item
->
setSettingsKey
(
"DebugMode"
,
"BuildDumpersOnTheFly"
);
item
->
setCheckable
(
true
);
...
...
src/plugins/debugger/debuggerplugin.cpp
View file @
1c110388
...
...
@@ -375,9 +375,13 @@ QWidget *DumperOptionPage::createPage(QWidget *parent)
m_ui
.
dumperLocationChooser
->
setExpectedKind
(
Core
::
Utils
::
PathChooser
::
Command
);
m_ui
.
dumperLocationChooser
->
setPromptDialogTitle
(
tr
(
"Choose Dumper Location"
));
m_ui
.
dumperLocationChooser
->
setInitialBrowsePathBackup
(
Core
::
ICore
::
instance
()
->
resourcePath
()
+
"../../lib"
);
theDebuggerAction
(
UsePrebuiltDumpers
)
->
connectWidget
(
m_ui
.
radioButtonUsePrebuiltDumpers
);
theDebuggerAction
(
BuildDumpersOnTheFly
)
->
connectWidget
(
m_ui
.
radioButtonBuildDumpersOnTheFly
);
theDebuggerAction
(
PrebuiltDumpersLocation
)
->
connectWidget
(
m_ui
.
dumperLocationChooser
);
...
...
@@ -410,6 +414,7 @@ void DumperOptionPage::apply()
theDebuggerAction
(
UseDumpers
)
->
apply
(
s
);
theDebuggerAction
(
UsePrebuiltDumpers
)
->
apply
(
s
);
theDebuggerAction
(
BuildDumpersOnTheFly
)
->
apply
(
s
);
theDebuggerAction
(
PrebuiltDumpersLocation
)
->
apply
(
s
);
theDebuggerAction
(
DebugDumpers
)
->
apply
(
s
);
}
...
...
@@ -1019,7 +1024,7 @@ void DebuggerPlugin::focusCurrentEditor(IMode *mode)
void
DebuggerPlugin
::
showSettingsDialog
()
{
Core
::
ICore
::
instance
()
->
showOptionsDialog
(
"Debugger"
,
"G
db
"
);
Core
::
ICore
::
instance
()
->
showOptionsDialog
(
"Debugger"
,
"G
eneral
"
);
}
#include
"debuggerplugin.moc"
...
...
src/plugins/debugger/dumperoptionpage.ui
View file @
1c110388
...
...
@@ -21,7 +21,7 @@
</property>
<layout
class=
"QGridLayout"
name=
"gridLayout"
>
<item
row=
"0"
column=
"0"
>
<widget
class=
"QRadioButton"
name=
"radioButtonDumpersOnTheFly"
>
<widget
class=
"QRadioButton"
name=
"radioButton
Build
DumpersOnTheFly"
>
<property
name=
"toolTip"
>
<string>
This is the slowest but safest option.
</string>
</property>
...
...
tests/manual/gdbdebugger/simple/app.cpp
View file @
1c110388
...
...
@@ -702,7 +702,6 @@ void testStdVector()
void
testQString
()
{
int
i
=
0
;
QString
str
=
"Hello "
;
str
+=
" big, "
;
str
+=
" fat "
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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