Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
qt-creator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tobias Hunger
qt-creator
Commits
a3b1ee1c
Commit
a3b1ee1c
authored
Nov 15, 2010
by
hjk
Browse files
Options
Downloads
Patches
Plain Diff
debugger: add some description to breakpoint states in tooltip.
FIXME: add translations once interface has stabilized.
parent
482db08b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugins/debugger/breakhandler.cpp
+18
-1
18 additions, 1 deletion
src/plugins/debugger/breakhandler.cpp
with
18 additions
and
1 deletion
src/plugins/debugger/breakhandler.cpp
+
18
−
1
View file @
a3b1ee1c
...
@@ -844,6 +844,23 @@ static void formatAddress(QTextStream &str, quint64 address)
...
@@ -844,6 +844,23 @@ static void formatAddress(QTextStream &str, quint64 address)
}
}
}
}
static
QString
stateToString
(
BreakpointState
state
)
{
switch
(
state
)
{
case
BreakpointNew
:
return
"new"
;
case
BreakpointInsertRequested
:
return
"insertion requested"
;
case
BreakpointInsertProceeding
:
return
"insertion proceeding"
;
case
BreakpointChangeRequested
:
return
"change requested"
;
case
BreakpointChangeProceeding
:
return
"change proceeding"
;
case
BreakpointPending
:
return
"breakpoint pending"
;
case
BreakpointInserted
:
return
"breakpoint inserted"
;
case
BreakpointRemoveRequested
:
return
"removal requested"
;
case
BreakpointRemoveProceeding
:
return
"removal is proceeding"
;
case
BreakpointDead
:
return
"dead"
;
default:
return
"<invalid state>"
;
}
};
QString
BreakHandler
::
BreakpointItem
::
toToolTip
()
const
QString
BreakHandler
::
BreakpointItem
::
toToolTip
()
const
{
{
QString
t
;
QString
t
;
...
@@ -870,7 +887,7 @@ QString BreakHandler::BreakpointItem::toToolTip() const
...
@@ -870,7 +887,7 @@ QString BreakHandler::BreakpointItem::toToolTip() const
str
<<
"<html><body><table>"
str
<<
"<html><body><table>"
//<< "<tr><td>" << tr("Id:") << "</td><td>" << m_id << "</td></tr>"
//<< "<tr><td>" << tr("Id:") << "</td><td>" << m_id << "</td></tr>"
<<
"<tr><td>"
<<
tr
(
"State:"
)
<<
"<tr><td>"
<<
tr
(
"State:"
)
<<
"</td><td>"
<<
state
<<
"</td></tr>"
<<
"</td><td>"
<<
state
<<
"
("
<<
stateToString
(
state
)
<<
")
</td></tr>"
<<
"<tr><td>"
<<
tr
(
"Engine:"
)
<<
"<tr><td>"
<<
tr
(
"Engine:"
)
<<
"</td><td>"
<<
(
engine
?
engine
->
objectName
()
:
"0"
)
<<
"</td></tr>"
<<
"</td><td>"
<<
(
engine
?
engine
->
objectName
()
:
"0"
)
<<
"</td></tr>"
<<
"<tr><td>"
<<
tr
(
"Marker File:"
)
<<
"<tr><td>"
<<
tr
(
"Marker File:"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
sign in
to comment