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
56fd90e5
Commit
56fd90e5
authored
Aug 30, 2010
by
hjk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debugger: fix spelling of synchronous
Finally.
parent
15da517b
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
16 additions
and
16 deletions
+16
-16
src/plugins/debugger/debuggerengine.h
src/plugins/debugger/debuggerengine.h
+1
-1
src/plugins/debugger/gdb/gdbengine.cpp
src/plugins/debugger/gdb/gdbengine.cpp
+6
-6
src/plugins/debugger/gdb/gdbengine.h
src/plugins/debugger/gdb/gdbengine.h
+1
-1
src/plugins/debugger/pdb/pdbengine.h
src/plugins/debugger/pdb/pdbengine.h
+1
-1
src/plugins/debugger/qml/qmlcppengine.cpp
src/plugins/debugger/qml/qmlcppengine.cpp
+2
-2
src/plugins/debugger/qml/qmlcppengine.h
src/plugins/debugger/qml/qmlcppengine.h
+1
-1
src/plugins/debugger/qml/qmlengine.h
src/plugins/debugger/qml/qmlengine.h
+1
-1
src/plugins/debugger/watchhandler.cpp
src/plugins/debugger/watchhandler.cpp
+3
-3
No files found.
src/plugins/debugger/debuggerengine.h
View file @
56fd90e5
...
...
@@ -165,7 +165,7 @@ public:
virtual
void
addOptionPages
(
QList
<
Core
::
IOptionsPage
*>
*
)
const
{}
virtual
unsigned
debuggerCapabilities
()
const
{
return
0
;
}
virtual
bool
isSynchron
e
ous
()
const
{
return
false
;
}
virtual
bool
isSynchronous
()
const
{
return
false
;
}
virtual
QString
qtNamespace
()
const
{
return
QString
();
}
virtual
void
createSnapshot
()
{}
...
...
src/plugins/debugger/gdb/gdbengine.cpp
View file @
56fd90e5
...
...
@@ -995,7 +995,7 @@ void GdbEngine::handleResultRecord(GdbResponse *response)
interruptInferiorTemporarily
();
// Continue only if there are no commands wire anymore, so this will
// be fully synchron
e
ous.
// be fully synchronous.
// This is somewhat inefficient, as it makes the last command synchronous.
// An optimization would be requesting the continue immediately when the
// event loop is entered, and let individual commands have a flag to suppress
...
...
@@ -1340,7 +1340,7 @@ void GdbEngine::handleStopResponse(const GdbMi &data)
||
name
!=
CROSS_STOP_SIGNAL
))
initHelpers
=
false
;
}
if
(
isSynchron
e
ous
())
if
(
isSynchronous
())
initHelpers
=
false
;
if
(
initHelpers
)
{
tryLoadDebuggingHelpersClassic
();
...
...
@@ -3243,7 +3243,7 @@ void GdbEngine::setToolTipExpression(const QPoint &mousePos,
}
*/
if
(
isSynchron
e
ous
())
{
if
(
isSynchronous
())
{
updateLocals
(
QVariant
());
return
;
}
...
...
@@ -3295,7 +3295,7 @@ bool GdbEngine::hasDebuggingHelperForType(const QString &type) const
void
GdbEngine
::
updateWatchData
(
const
WatchData
&
data
)
{
if
(
isSynchron
e
ous
())
{
if
(
isSynchronous
())
{
// This should only be called for fresh expanded items, not for
// items that had their children retrieved earlier.
//qDebug() << "\nUPDATE WATCH DATA: " << data.toString() << "\n";
...
...
@@ -3361,7 +3361,7 @@ void GdbEngine::rebuildWatchModel()
{
static
int
count
=
0
;
++
count
;
if
(
!
isSynchron
e
ous
())
if
(
!
isSynchronous
())
m_processedNames
.
clear
();
PENDING_DEBUG
(
"REBUILDING MODEL"
<<
count
);
if
(
theDebuggerBoolSetting
(
LogTimeStamps
))
...
...
@@ -3515,7 +3515,7 @@ WatchData GdbEngine::localVariable(const GdbMi &item,
data
.
setError
(
WatchData
::
msgNotInScope
());
return
data
;
}
if
(
isSynchron
e
ous
())
{
if
(
isSynchronous
())
{
setWatchDataValue
(
data
,
item
);
// We know that the complete list of children is
// somewhere in the response.
...
...
src/plugins/debugger/gdb/gdbengine.h
View file @
56fd90e5
...
...
@@ -290,7 +290,7 @@ private: ////////// Gdb Output, State & Capability Handling //////////
StackFrame
parseStackFrame
(
const
GdbMi
&
mi
,
int
level
);
void
resetCommandQueue
();
bool
isSynchron
e
ous
()
const
{
return
hasPython
();
}
bool
isSynchronous
()
const
{
return
hasPython
();
}
virtual
bool
hasPython
()
const
;
bool
supportsThreads
()
const
;
...
...
src/plugins/debugger/pdb/pdbengine.h
View file @
56fd90e5
...
...
@@ -102,7 +102,7 @@ private:
void
reloadFullStack
()
{}
bool
supportsThreads
()
const
{
return
true
;
}
bool
isSynchron
e
ous
()
const
{
return
true
;
}
bool
isSynchronous
()
const
{
return
true
;
}
void
updateWatchData
(
const
WatchData
&
data
);
signals:
...
...
src/plugins/debugger/qml/qmlcppengine.cpp
View file @
56fd90e5
...
...
@@ -175,9 +175,9 @@ unsigned QmlCppEngine::debuggerCapabilities() const
return
m_cppEngine
->
debuggerCapabilities
();
}
bool
QmlCppEngine
::
isSynchron
e
ous
()
const
bool
QmlCppEngine
::
isSynchronous
()
const
{
return
m_activeEngine
->
isSynchron
e
ous
();
return
m_activeEngine
->
isSynchronous
();
}
QString
QmlCppEngine
::
qtNamespace
()
const
...
...
src/plugins/debugger/qml/qmlcppengine.h
View file @
56fd90e5
...
...
@@ -45,7 +45,7 @@ public:
virtual
void
setRegisterValue
(
int
regnr
,
const
QString
&
value
);
virtual
unsigned
debuggerCapabilities
()
const
;
virtual
bool
isSynchron
e
ous
()
const
;
virtual
bool
isSynchronous
()
const
;
virtual
QString
qtNamespace
()
const
;
virtual
void
createSnapshot
();
...
...
src/plugins/debugger/qml/qmlengine.h
View file @
56fd90e5
...
...
@@ -74,7 +74,7 @@ public slots:
private:
// DebuggerEngine implementation
bool
isSynchron
e
ous
()
const
{
return
false
;
}
bool
isSynchronous
()
const
{
return
false
;
}
void
executeStep
();
void
executeStepOut
();
void
executeNext
();
...
...
src/plugins/debugger/watchhandler.cpp
View file @
56fd90e5
...
...
@@ -1182,13 +1182,13 @@ void WatchHandler::insertData(const WatchData &data)
if
(
data
.
isSomethingNeeded
()
&&
data
.
iname
.
contains
(
'.'
))
{
MODEL_DEBUG
(
"SOMETHING NEEDED: "
<<
data
.
toString
());
if
(
!
m_engine
->
isSynchron
e
ous
())
{
if
(
!
m_engine
->
isSynchronous
())
{
m_engine
->
updateWatchData
(
data
);
}
else
{
qDebug
()
<<
"ENDLESS LOOP: SOMETHING NEEDED: "
<<
data
.
toString
();
WatchData
data1
=
data
;
data1
.
setAllUnneeded
();
data1
.
setValue
(
QLatin1String
(
"<unavailable synchron
e
ous data>"
));
data1
.
setValue
(
QLatin1String
(
"<unavailable synchronous data>"
));
data1
.
setHasChildren
(
false
);
WatchModel
*
model
=
modelForIName
(
data
.
iname
);
QTC_ASSERT
(
model
,
return
);
...
...
@@ -1267,7 +1267,7 @@ void WatchHandler::watchExpression(const QString &exp)
if
(
exp
.
isEmpty
())
data
.
setAllUnneeded
();
data
.
iname
=
watcherName
(
data
.
exp
);
if
(
m_engine
->
isSynchron
e
ous
()
&&
!
m_engine
->
isSessionEngine
())
if
(
m_engine
->
isSynchronous
()
&&
!
m_engine
->
isSessionEngine
())
m_engine
->
updateWatchData
(
data
);
else
insertData
(
data
);
...
...
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