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
Marco Bubke
flatpak-qt-creator
Commits
0ee09af6
Commit
0ee09af6
authored
Oct 27, 2009
by
Oswald Buddenhagen
Browse files
eliminate handleDebuggingHelperValue1()
doesn't seem to serve any purpose at this time.
parent
2fe4c0f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdb/gdbengine.cpp
View file @
0ee09af6
...
...
@@ -2762,15 +2762,13 @@ void GdbEngine::runDebuggingHelper(const WatchData &data0, bool dumpChildren)
<<
','
<<
addr
<<
','
<<
(
dumpChildren
?
"1"
:
"0"
)
<<
','
<<
extraArgs
.
join
(
QString
(
_c
(
','
)))
<<
')'
;
QVariant
var
;
var
.
setValue
(
data
);
postCommand
(
cmd
,
WatchUpdate
|
EmbedToken
,
CB
(
handleDebuggingHelperValue1
),
var
);
postCommand
(
cmd
,
WatchUpdate
);
showStatusMessage
(
msgRetrievingWatchData
(
m_pendingRequests
+
1
),
10000
);
// retrieve response
postCommand
(
_
(
"p (char*)&qDumpOutBuffer"
),
WatchUpdate
,
CB
(
handleDebuggingHelperValue2
),
var
);
CB
(
handleDebuggingHelperValue2
),
qVariantFromValue
(
data
)
);
}
void
GdbEngine
::
createGdbVariable
(
const
WatchData
&
data
)
...
...
@@ -3197,27 +3195,6 @@ void GdbEngine::handleDebuggingHelperSetup(const GdbResponse &response)
}
}
void
GdbEngine
::
handleDebuggingHelperValue1
(
const
GdbResponse
&
response
)
{
WatchData
data
=
response
.
cookie
.
value
<
WatchData
>
();
QTC_ASSERT
(
data
.
isValid
(),
return
);
if
(
response
.
resultClass
==
GdbResultDone
)
{
// ignore this case, data will follow
}
else
{
QString
msg
=
QString
::
fromLocal8Bit
(
response
.
data
.
findChild
(
"msg"
).
data
());
#ifdef QT_DEBUG
// Make debugging of dumpers easier
if
(
theDebuggerBoolSetting
(
DebugDebuggingHelpers
)
&&
msg
.
startsWith
(
__
(
"The program being debugged stopped while"
))
&&
msg
.
contains
(
__
(
"qDumpObjectData440"
)))
{
// Fake full stop
postCommand
(
_
(
"p 3"
),
CB
(
handleStop2
));
// dummy
return
;
}
#endif
}
}
void
GdbEngine
::
handleDebuggingHelperValue2
(
const
GdbResponse
&
response
)
{
WatchData
data
=
response
.
cookie
.
value
<
WatchData
>
();
...
...
src/plugins/debugger/gdb/gdbengine.h
View file @
0ee09af6
...
...
@@ -418,7 +418,6 @@ private: ////////// View & Data Stuff //////////
void
handleEvaluateExpression
(
const
GdbResponse
&
response
);
//void handleToolTip(const GdbResponse &response);
void
handleQueryDebuggingHelper
(
const
GdbResponse
&
response
);
void
handleDebuggingHelperValue1
(
const
GdbResponse
&
response
);
void
handleDebuggingHelperValue2
(
const
GdbResponse
&
response
);
void
handleDebuggingHelperValue3
(
const
GdbResponse
&
response
);
void
handleDebuggingHelperEditValue
(
const
GdbResponse
&
response
);
...
...
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