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
Tobias Hunger
qt-creator
Commits
d6c870e9
Commit
d6c870e9
authored
Feb 14, 2011
by
hjk
Browse files
debugger: show more detail for "special" breakpoints in breakwindow
main/throw/catch
parent
8735f0d1
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/breakhandler.cpp
View file @
d6c870e9
...
...
@@ -458,6 +458,12 @@ QVariant BreakHandler::data(const QModelIndex &mi, int role) const
return
response
.
functionName
;
if
(
!
data
.
functionName
.
isEmpty
())
return
data
.
functionName
;
if
(
data
.
type
==
BreakpointAtMain
)
return
tr
(
"Breakpoint at
\"
main
\"
"
);
if
(
data
.
type
==
BreakpointAtCatch
)
return
tr
(
"Break when catching exceptions"
);
if
(
data
.
type
==
BreakpointAtThrow
)
return
tr
(
"Break when throwing exceptions"
);
return
empty
;
}
break
;
...
...
src/plugins/debugger/breakwindow.cpp
View file @
d6c870e9
...
...
@@ -70,7 +70,7 @@ class BreakpointDialog : public QDialog
{
Q_OBJECT
public:
explicit
BreakpointDialog
(
unsigned
engineCapabilities
=
AllDebuggerCapabilities
,
QWidget
*
parent
=
0
);
explicit
BreakpointDialog
(
unsigned
engineCapabilities
,
QWidget
*
parent
=
0
);
bool
showDialog
(
BreakpointParameters
*
data
);
void
setParameters
(
const
BreakpointParameters
&
data
);
...
...
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