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
Tobias Hunger
qt-creator
Commits
a4c86028
Commit
a4c86028
authored
May 09, 2011
by
hjk
Browse files
debugger: "Add breakpoint" dialog cosmetics
parent
c620749b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/breakwindow.cpp
View file @
a4c86028
...
...
@@ -99,6 +99,8 @@ BreakpointDialog::BreakpointDialog(unsigned engineCapabilities, QWidget *parent)
:
QDialog
(
parent
),
m_enabledParts
(
-
1
),
m_previousType
(
UnknownType
),
m_firstTypeChange
(
true
)
{
m_ui
.
setupUi
(
this
);
m_ui
.
comboBoxType
->
setMaxVisibleItems
(
20
);
if
(
!
(
engineCapabilities
&
BreakConditionCapability
))
m_enabledParts
&=
~
ConditionPart
;
if
(
!
(
engineCapabilities
&
BreakModuleCapability
))
...
...
@@ -106,14 +108,13 @@ BreakpointDialog::BreakpointDialog(unsigned engineCapabilities, QWidget *parent)
if
(
!
(
engineCapabilities
&
TracePointCapability
))
m_enabledParts
&=
~
TracePointPart
;
// Match BreakpointType (omitting unknown type).
m_ui
.
setupUi
(
this
);
QStringList
types
;
types
<<
tr
(
"File name and line number"
)
<<
tr
(
"Function name"
)
<<
tr
(
"
A
ddress"
)
<<
tr
(
"
Memory a
ddress"
)
<<
tr
(
"Break when C++ exception is thrown"
)
<<
tr
(
"Break when C++ exception is caught"
)
<<
tr
(
"Break when function
\"
main
()
\"
starts"
)
<<
tr
(
"Break when function
\"
main
\"
starts"
)
<<
tr
(
"Break when a new process is forked"
)
<<
tr
(
"Break when a new process is executed"
)
<<
tr
(
"Break when a system call is executed"
)
...
...
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