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
03be40dd
Commit
03be40dd
authored
Jun 25, 2010
by
hjk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debugger: remove unused code
parent
2473cf30
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
32 deletions
+0
-32
src/plugins/debugger/breakhandler.cpp
src/plugins/debugger/breakhandler.cpp
+0
-29
src/plugins/debugger/breakhandler.h
src/plugins/debugger/breakhandler.h
+0
-1
src/plugins/debugger/debuggerplugin.cpp
src/plugins/debugger/debuggerplugin.cpp
+0
-2
No files found.
src/plugins/debugger/breakhandler.cpp
View file @
03be40dd
...
...
@@ -545,34 +545,6 @@ void BreakHandler::loadBreakpoints()
//qDebug() << "LOADED BREAKPOINTS" << this << list.size();
}
void
BreakHandler
::
resetBreakpoints
()
{
for
(
int
index
=
size
();
--
index
>=
0
;)
{
BreakpointData
*
data
=
at
(
index
);
data
->
pending
=
true
;
data
->
bpMultiple
=
false
;
data
->
bpEnabled
=
true
;
data
->
bpNumber
.
clear
();
data
->
bpFuncName
.
clear
();
data
->
bpFileName
.
clear
();
data
->
bpLineNumber
.
clear
();
data
->
bpCorrectedLineNumber
.
clear
();
data
->
bpCondition
.
clear
();
data
->
bpIgnoreCount
.
clear
();
data
->
bpThreadSpec
.
clear
();
data
->
bpAddress
.
clear
();
// Keep marker data if it was primary.
if
(
data
->
markerFileName
()
!=
data
->
fileName
)
data
->
setMarkerFileName
(
QString
());
if
(
data
->
markerLineNumber
()
!=
data
->
lineNumber
.
toInt
())
data
->
setMarkerLineNumber
(
0
);
}
m_enabled
.
clear
();
m_disabled
.
clear
();
m_removed
.
clear
();
m_inserted
.
clear
();
}
void
BreakHandler
::
updateMarkers
()
{
for
(
int
index
=
0
;
index
!=
size
();
++
index
)
...
...
@@ -981,7 +953,6 @@ void BreakHandler::saveSessionData()
{
QTC_ASSERT
(
m_engine
->
isSessionEngine
(),
return
);
saveBreakpoints
();
updateMarkers
();
}
void
BreakHandler
::
loadSessionData
()
...
...
src/plugins/debugger/breakhandler.h
View file @
03be40dd
...
...
@@ -110,7 +110,6 @@ private:
void
markerUpdated
(
BreakpointMarker
*
,
int
lineNumber
);
void
loadBreakpoints
();
void
saveBreakpoints
();
void
resetBreakpoints
();
void
removeBreakpointHelper
(
int
index
);
const
QIcon
m_breakpointIcon
;
...
...
src/plugins/debugger/debuggerplugin.cpp
View file @
03be40dd
...
...
@@ -2614,7 +2614,6 @@ void DebuggerPlugin::createNewDock(QWidget *widget)
void
DebuggerPlugin
::
runControlStarted
(
DebuggerRunControl
*
runControl
)
{
qDebug
()
<<
"RUNCONTROL STARTED: "
<<
runControl
;
d
->
connectEngine
(
runControl
->
engine
());
}
...
...
@@ -2622,7 +2621,6 @@ void DebuggerPlugin::runControlFinished(DebuggerRunControl *runControl)
{
Q_UNUSED
(
runControl
);
d
->
disconnectEngine
();
qDebug
()
<<
"RUNCONTROL FINISHED: "
<<
runControl
;
}
DebuggerEngine
*
DebuggerPlugin
::
sessionTemplate
()
...
...
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